mirror of
https://github.com/openai/codex.git
synced 2026-10-18 17:18:52 +00:00
Increase the app-server model refresh interval (#40498)
## What changed Change the background model refresh interval from 3 minutes to 4 minutes 30 seconds. GitOrigin-RevId: dcefe471c91dc94a04ddc74595c3ce00d9061e55
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user