From e0765c3d6b577184a182f1de59744152b9e0e745 Mon Sep 17 00:00:00 2001 From: Haku Date: Sun, 15 Mar 2020 08:23:03 -0400 Subject: [PATCH] switched task loop to run every 5 minutes instead of 10 --- founderlessnotify/founderlessnotify.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/founderlessnotify/founderlessnotify.py b/founderlessnotify/founderlessnotify.py index 38f1b9c..b6acc82 100644 --- a/founderlessnotify/founderlessnotify.py +++ b/founderlessnotify/founderlessnotify.py @@ -117,8 +117,8 @@ class FounderlessNotify(commands.Cog): async def bg_loop(self): """Main background loop.""" while True: - # Only check once every 10 minutes - await asyncio.sleep(600) + # Only check once every 5 minutes + await asyncio.sleep(300) current_time = datetime.datetime.utcnow() major_time = await self.config.update_time() minor_time = major_time + 12