Skip to content

Commit

Permalink
[irods#28] Update python tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SwooshyCueb committed Nov 7, 2022
1 parent 4069fc9 commit 90e1778
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packaging/message_broker_consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def on_message(self, event):
#print(message)
self.pid_dictionary[pid].append(message)

elif action == 'END' and pid in self.pid_dictionary:
elif action == 'STOP' and pid in self.pid_dictionary:
#print(message)
#print(pid)
self.pid_dictionary[pid].append(message)
Expand Down
2 changes: 1 addition & 1 deletion packaging/queue_listener.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def __init__(self, pid_queue, result_queue, url, queue_name):

def run(self):

timeout = 5
timeout = 3
num_workers = 5
for _ in range(num_workers):
worker = MessageWorker(self.pid_queue, self.result_queue)
Expand Down

0 comments on commit 90e1778

Please sign in to comment.