Call callbacks more often
This commit is contained in:
parent
ff9d2aaef1
commit
72d7217c4b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user