upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/purgatory/sync/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/purgatory/sync/mod.rs')
-rw-r--r--src/purgatory/sync/mod.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/purgatory/sync/mod.rs b/src/purgatory/sync/mod.rs
new file mode 100644
index 0000000..7b6d64a
--- /dev/null
+++ b/src/purgatory/sync/mod.rs
@@ -0,0 +1,11 @@
1//! Purgatory sync module for background git data synchronization.
2//!
3//! This module implements identifier-based syncing with:
4//! - Batched OID fetching across all purgatory events for an identifier
5//! - Domain-based throttling (configurable requests/minute per domain)
6//! - Exponential backoff per identifier (20s → 2m, then 2m intervals)
7//! - Debouncing for burst event arrivals
8
9mod queue;
10
11pub use queue::SyncQueueEntry;