blob: b29f10e1835060bfd822de4b965d34a05e57926e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
//! Purgatory sync module for background git data synchronization.
//!
//! This module implements identifier-based syncing with:
//! - Batched OID fetching across all purgatory events for an identifier
//! - Domain-based throttling (configurable requests/minute per domain)
//! - Exponential backoff per identifier (20s → 2m, then 2m intervals)
//! - Debouncing for burst event arrivals
mod queue;
mod throttle;
pub use queue::SyncQueueEntry;
pub use throttle::{DomainThrottle, ThrottleManager};
|