mirror of
https://github.com/zulip/zulip.git
synced 2025-10-29 19:13:53 +00:00
queue: Be more explicit about test/real queue division.
This commit is contained in:
committed by
Tim Abbott
parent
31d0141a30
commit
7cf737988d
@@ -1,5 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
import argparse
|
||||
import os
|
||||
import sys
|
||||
|
||||
@@ -17,10 +16,5 @@ django.setup()
|
||||
from zerver.worker.queue_processors import get_active_worker_queues
|
||||
|
||||
if __name__ == "__main__":
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument('--queue-type',
|
||||
help="Specify which types of queues to list")
|
||||
args = parser.parse_args()
|
||||
|
||||
for worker in sorted(get_active_worker_queues(args.queue_type)):
|
||||
for worker in sorted(get_active_worker_queues()):
|
||||
print(worker)
|
||||
|
||||
Reference in New Issue
Block a user