Skip to content

Commit

Permalink
Reduce roster sync to 2 hours
Browse files Browse the repository at this point in the history
  • Loading branch information
Celeo committed Oct 14, 2024
1 parent ba8e09b commit 2444e6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vzdv-tasks/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,8 @@ async fn main() {
error!("Error updating roster: {e}");
}
}
debug!("Waiting 4 hours for next roster sync");
time::sleep(time::Duration::from_secs(60 * 60 * 4)).await;
debug!("Waiting 2 hours for next roster sync");
time::sleep(time::Duration::from_secs(60 * 60 * 2)).await;
}
})
};
Expand Down

0 comments on commit 2444e6c

Please sign in to comment.