upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/purgatory
diff options
context:
space:
mode:
Diffstat (limited to 'src/purgatory')
-rw-r--r--src/purgatory/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/purgatory/mod.rs b/src/purgatory/mod.rs
index 7045923..894c941 100644
--- a/src/purgatory/mod.rs
+++ b/src/purgatory/mod.rs
@@ -189,6 +189,8 @@ impl Purgatory {
189 /// 189 ///
190 /// Automatically enqueues the identifier for background sync with the default delay 190 /// Automatically enqueues the identifier for background sync with the default delay
191 /// (3 minutes), giving time for a git push to arrive after the nostr event. 191 /// (3 minutes), giving time for a git push to arrive after the nostr event.
192 /// For sync-triggered events, the SyncManager calls `enqueue_sync_immediate` separately
193 /// to override this delay.
192 /// 194 ///
193 /// # Arguments 195 /// # Arguments
194 /// * `event` - The state event (kind 30618) to hold 196 /// * `event` - The state event (kind 30618) to hold
@@ -210,6 +212,7 @@ impl Purgatory {
210 .push(entry); 212 .push(entry);
211 213
212 // Enqueue for background sync with default delay 214 // Enqueue for background sync with default delay
215 // (SyncManager will call enqueue_sync_immediate for sync-triggered events)
213 self.enqueue_sync_default(&identifier); 216 self.enqueue_sync_default(&identifier);
214 } 217 }
215 218