fix: tune codex queue minimax runtime

This commit is contained in:
Codex
2026-05-07 18:21:45 +00:00
parent 672c911e42
commit 34652e1731
2 changed files with 2 additions and 2 deletions
@@ -1160,7 +1160,7 @@ async function route(req: Request): Promise<Response> {
}
prepareCodexHome();
Bun.serve({ hostname: config.host, port: config.port, fetch: route });
Bun.serve({ hostname: config.host, port: config.port, idleTimeout: 120, fetch: route });
logger("info", "service_started", { port: config.port, statePath: config.statePath, workdir: config.defaultWorkdir, defaultModel: config.defaultModel, judgeConfigured: config.minimaxApiKey.length > 0 });
for (const task of state.tasks) {
if (task.status === "running" || task.status === "judging") {