fix: tune codex queue minimax runtime
This commit is contained in:
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user