diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-04 17:58:31 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-04 17:58:31 +0000 |
| commit | f639ecfac6687c9e8de4e3f305e168b2e4e1bb87 (patch) | |
| tree | cfcbf16a937a59048930ccaf8557f78ed5576bde /Cargo.toml | |
| parent | bf558b0dc17e14f96eea624ea5591315a2909154 (diff) | |
feat(sync): Phase 3 - resilience and health tracking
- Add RelayHealthTracker with DashMap
- Implement exponential backoff (5s -> 1h max)
- Handle dead relays (24h failures -> daily retry)
- Add startup jitter to prevent thundering herd
- Add NGIT_SYNC_MAX_BACKOFF_SECS config
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -33,6 +33,9 @@ prometheus = "0.13" | |||
| 33 | dashmap = "5" | 33 | dashmap = "5" |
| 34 | lazy_static = "1.4" | 34 | lazy_static = "1.4" |
| 35 | 35 | ||
| 36 | # Random (for startup jitter) | ||
| 37 | rand = "0.8" | ||
| 38 | |||
| 36 | # Serialization | 39 | # Serialization |
| 37 | serde = { version = "1.0", features = ["derive"] } | 40 | serde = { version = "1.0", features = ["derive"] } |
| 38 | serde_json = "1.0" | 41 | serde_json = "1.0" |