Skip to content

Commit 7e34651

Browse files
committed
refactor: make reshard interval longer
1 parent db25378 commit 7e34651

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

bathbot/src/core/context/discord.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ impl Context {
106106
}
107107

108108
pub async fn reshard_loop(sender: broadcast::Sender<()>) {
109-
const HALF_DAY: Duration = Duration::from_hours(12);
109+
const INTERVAL: Duration = Duration::from_hours(23);
110110

111-
let mut interval = time::interval(HALF_DAY);
111+
let mut interval = time::interval(INTERVAL);
112112
interval.tick().await;
113113

114114
loop {

0 commit comments

Comments
 (0)