Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion django_lightweight_queue/backends/reliable_redis.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def startup(self, queue: QueueName) -> None:
# Without this the startup process can end up racing against workers on
# other machines which are validly re-populating their processing queues
# as they work on jobs.
current_processing_queue_keys = set(self.client.keys(pattern))
current_processing_queue_keys = set(self.client.scan_iter(pattern))
expected_processing_queue_keys = set(
self._processing_key(queue, worker_number).encode()
for worker_number in get_worker_numbers(queue)
Expand Down