Skip to content

Commit

Permalink
Add 60 second delay between activities and fetching on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
0x16c3 committed Apr 18, 2022
1 parent 8ffa540 commit 8537351
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cogs/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,7 @@ async def on_ready(self):
await asyncio.sleep(60)

logger.info(f"Created Activity objects, waiting 60 seconds to fetch feeds.")
await asyncio.sleep(60)

for i, user in enumerate(self.feeds):
user: Activity
Expand Down

0 comments on commit 8537351

Please sign in to comment.