Skip to content

Commit

Permalink
Add _channel attr in test runs, too
Browse files Browse the repository at this point in the history
  • Loading branch information
catileptic committed Sep 11, 2024
1 parent 8a4f717 commit 85d8544
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions servicelayer/taskqueue.py
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,7 @@ def process_nonblocking(self):
else:
queue_active[queue] = True
task = get_task(body, method.delivery_tag)
task._channel = channel
success, retry = self.handle(task, channel)
if success:
channel.basic_ack(task.delivery_tag)
Expand Down

0 comments on commit 85d8544

Please sign in to comment.