Skip to content

Commit b2e13fb

Browse files
committed
feat(sv-publisher): Change historical check period
1 parent f247ca7 commit b2e13fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/publisher/src/history.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ pub async fn process_historical_gaps_periodically(
2323
shutdown: &Arc<ShutdownController>,
2424
telemetry: &Arc<Telemetry<Metrics>>,
2525
) -> Result<(), anyhow::Error> {
26-
// Run every 5 hours
27-
let mut interval = interval(Duration::from_secs(3600 * 5));
26+
// Run every 3 days
27+
let mut interval = interval(Duration::from_secs((3600 * 24) * 3));
2828

2929
loop {
3030
if shutdown.token().is_cancelled() {

0 commit comments

Comments
 (0)