From 72d7217c4b4d52160c10b5c2ed4f4ee098ab1f4b Mon Sep 17 00:00:00 2001 From: Maurice Heumann Date: Wed, 30 Nov 2022 19:21:52 +0100 Subject: [PATCH] Call callbacks more often --- src/client/component/discord.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/client/component/discord.cpp b/src/client/component/discord.cpp index 50eeda16..ef30639c 100644 --- a/src/client/component/discord.cpp +++ b/src/client/component/discord.cpp @@ -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