Bandaid on the async, not sure it's really working as intended
This commit is contained in:
parent
01b88dac09
commit
bbbfbd4e31
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue