Skip to content

Commit b6ed6ea

Browse files
author
Alexey Tsitkin
committed
fix minor bug
1 parent debac58 commit b6ed6ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eb_sqs/worker/service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def process_queues(self, queue_names):
7070
logger.debug('[django-eb-sqs] Processing {} queues'.format(len(queues)))
7171
self.process_messages(queues, worker, static_queues)
7272

73-
if timezone.now() - timedelta(seconds=settings.MIN_HEALTHCHECK_PERIOD_S) > last_healthcheck_time:
73+
if timezone.now() - timedelta(seconds=settings.MIN_HEALTHCHECK_WRITE_PERIOD_S) > last_healthcheck_time:
7474
self.write_healthcheck_file()
7575

7676
def process_messages(self, queues, worker, static_queues):

0 commit comments

Comments
 (0)