Add daemon --create-queue to automatically create a queue and use it if queue name doesn't exist in server

This commit is contained in:
allegroai
2020-05-09 19:50:53 +03:00
parent c65b28ed92
commit 5bb257c46c
2 changed files with 27 additions and 8 deletions

View File

@@ -76,6 +76,10 @@ DAEMON_ARGS = dict({
'help': 'Launch multiple long-term docker services. Implies docker & cpu-only flags.',
'action': 'store_true',
},
'--create-queue': {
'help': 'Create requested queue if it does not exist already.',
'action': 'store_true',
},
'--detached': {
'help': 'Detached mode, run agent in the background',
'action': 'store_true',