mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
Move retry backoff into codex-async-utils (#46330)
Move the exponential backoff helper into `codex-async-utils` so `codex-cloud-config` can use it without a runtime dependency on `codex-core`. Keep `codex-core` as a development dependency for cloud-config tests. Preserve the existing retry delays and jitter, and re-export `backoff` from `codex_core::util` for existing callers. GitOrigin-RevId: 338f3194e166e77003da532310ff5be78a0eac9e
This commit is contained in:
1 parent
608e4cc9a1
commit
ff73d63e64
7 files changed
+28
-15
No files matched your search
@@ -1,3 +1,7 @@
|
||||
mod backoff;
|
||||
|
||||
pub use backoff::backoff;
|
||||
|
||||
use std::future::Future;
|
||||
use tokio_util::sync::CancellationToken;
|
||||
|
||||
|
||||
Reference in new issue
Block a user