Call callbacks more often

This commit is contained in:
Maurice Heumann 2022-11-30 19:21:52 +01:00
parent ff9d2aaef1
commit 72d7217c4b

View File

@ -50,11 +50,7 @@ namespace discord
this->initialized_ = true;
scheduler::once([]()
{
scheduler::once(Discord_RunCallbacks, scheduler::pipeline::async);
scheduler::loop(Discord_RunCallbacks, scheduler::pipeline::async, 15s);
}, scheduler::pipeline::main);
scheduler::loop(Discord_RunCallbacks, scheduler::pipeline::async, 1s);
}
void pre_destroy() override