mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +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:
1 parent
8476434a97
commit
4ef1d4b89b
1 file changed
+1
-1
@@ -7,7 +7,7 @@ use codex_models_manager::manager::SharedModelsManager;
|
|||||||
use tokio::task::JoinHandle;
|
use tokio::task::JoinHandle;
|
||||||
use tokio_util::sync::CancellationToken;
|
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)]
|
#[derive(Debug)]
|
||||||
pub(crate) struct ModelsRefreshWorker {
|
pub(crate) struct ModelsRefreshWorker {
|
||||||
|
|||||||
Reference in new issue
Block a user