Bandaid on the async, not sure it's really working as intended #34

Merged
Dandaedre merged 1 commits from devpatch into dev 2024-11-09 16:33:41 +01:00
1 changed files with 2 additions and 2 deletions

View File

@ -21,9 +21,9 @@ async fn main() {
let event_context = EventHolder::default();
init_logger().unwrap();
// TODO: Check that this is actually what we want
task::spawn(discord_main_loop());
task::spawn(main_scheduler_loop(
time::interval(time::Duration::from_secs(60 * 10)),
time::interval(time::Duration::from_secs(1)),
event_context,
));
discord_main_loop().await;
}