From: Arik Sosman Date: Fri, 10 May 2024 16:41:30 +0000 (-0700) Subject: Increase reminder snapshot scope interval threshold. X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=c5fb1c272982965b3ee784912614ab3ba5c66825;p=rapid-gossip-sync-server Increase reminder snapshot scope interval threshold. --- diff --git a/src/lookup.rs b/src/lookup.rs index 454dc7a..fc0385c 100644 --- a/src/lookup.rs +++ b/src/lookup.rs @@ -107,7 +107,7 @@ pub(super) async fn fetch_channel_announcements(delta_set: &mut DeltaS let is_reminder_day = (current_day % 5) == 0; let snapshot_scope = current_timestamp.saturating_sub(last_sync_timestamp as u64); - let is_reminder_scope = snapshot_scope > (40 * 3600); + let is_reminder_scope = snapshot_scope > (50 * 3600); log_debug!(logger, "Snapshot scope: {}s", snapshot_scope); (is_reminder_hour && is_reminder_day) || is_reminder_scope