Skip to content

Commit

Permalink
healthcheck ping makes bot unresponsible
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevnkkm committed Jan 27, 2025
1 parent c2ec868 commit 4c9ca08
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cogs/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ async def on_ready(self):
self.manage_state.start()
self.daily_db_backup.start()

@tasks.loop(seconds=60)
async def ping_healthcheck(self):
logger.info("Pinging healthcheck...")
requests.get(HEALTHCHECK_URL)
# @tasks.loop(seconds=60)
# async def ping_healthcheck(self):
# logger.info("Pinging healthcheck...")
# requests.get(HEALTHCHECK_URL)

@tasks.loop(seconds=15)
async def change_activity(self):
Expand Down

0 comments on commit 4c9ca08

Please sign in to comment.