Call callbacks more often
This commit is contained in:
parent
ff9d2aaef1
commit
72d7217c4b
@ -50,11 +50,7 @@ namespace discord
|
|||||||
|
|
||||||
this->initialized_ = true;
|
this->initialized_ = true;
|
||||||
|
|
||||||
scheduler::once([]()
|
scheduler::loop(Discord_RunCallbacks, scheduler::pipeline::async, 1s);
|
||||||
{
|
|
||||||
scheduler::once(Discord_RunCallbacks, scheduler::pipeline::async);
|
|
||||||
scheduler::loop(Discord_RunCallbacks, scheduler::pipeline::async, 15s);
|
|
||||||
}, scheduler::pipeline::main);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void pre_destroy() override
|
void pre_destroy() override
|
||||||
|
Loading…
Reference in New Issue
Block a user