Skip to content

Commit 44badb1

Browse files
author
Alexey Tsitkin
committed
fix bug
1 parent b6ed6ea commit 44badb1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

eb_sqs/worker/service.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ def process_queues(self, queue_names):
7272

7373
if timezone.now() - timedelta(seconds=settings.MIN_HEALTHCHECK_WRITE_PERIOD_S) > last_healthcheck_time:
7474
self.write_healthcheck_file()
75+
last_healthcheck_time = timezone.now()
7576

7677
def process_messages(self, queues, worker, static_queues):
7778
# type: (list, Worker, list) -> None

0 commit comments

Comments
 (0)