Skip to content

Commit

Permalink
fix error running process_queue in a tz with a negative offset
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobevans committed Apr 27, 2018
1 parent 5645cae commit 7274750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eb_sqs/worker/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def process_queues(self, queue_names):

queue_prefixes = [prefix.split(self._PREFIX_STR)[1] for prefix in prefixes]
static_queues = queues
last_update_time = timezone.make_aware(datetime.min)
last_update_time = timezone.make_aware(datetime.min + timedelta(hours=24))

logger.debug('[django-eb-sqs] Connected to SQS: {}'.format(', '.join(queue_names)))

Expand Down

0 comments on commit 7274750

Please sign in to comment.