Lightweight coding agent that runs in your terminal
Rust
Increase the app-server model refresh interval (#40498)
spasumar-oai4ef1d4b89bd4
diff --git a/codex-rs/app-server/src/models_refresh_worker.rs b/codex-rs/app-server/src/models_refresh_worker.rsindex ab785867a6..e57abcc938 100644--- a/codex-rs/app-server/src/models_refresh_worker.rs+++ b/codex-rs/app-server/src/models_refresh_worker.rs@@ -7,7 +7,7 @@ use codex_models_manager::manager::SharedModelsManager;use tokio::task::JoinHandle;use tokio_util::sync::CancellationToken;-const MODELS_REFRESH_INTERVAL: Duration = Duration::from_secs(3 * 60);+const MODELS_REFRESH_INTERVAL: Duration = Duration::from_secs(4 * 60 + 30);#[derive(Debug)]pub(crate) struct ModelsRefreshWorker {