Skip to content

Commit

Permalink
More debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljcollinsuk committed Sep 27, 2023
1 parent 97cb806 commit e1d0c3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controlpanel/celery.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def debug_task(self):

@app.task(bind=True, ignore_result=True)
def worker_health_check(self):
print(f"Task {self.request.id} calling worker_health_check")
Path(settings.WORKER_HEALTH_FILENAME).touch()
log.debug("Worker health ping task executed")

Expand Down

0 comments on commit e1d0c3e

Please sign in to comment.