mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +00:00
check-rabbitmq-consumers: Go back to hardcoding for now.
This should fix the production test suite in Travis CI, so that we can debug what's broken here offline.
This commit is contained in:
@@ -37,12 +37,26 @@ consumers = defaultdict(int) # type: Dict[str, int]
|
||||
|
||||
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(__file__)))))
|
||||
from scripts.lib.zulip_tools import su_to_zulip
|
||||
queues = subprocess.check_output([os.path.abspath('./scripts/lib/queue_workers.py'),
|
||||
'--queue-type=consumer'],
|
||||
universal_newlines=True,
|
||||
preexec_fn=su_to_zulip)
|
||||
queues = {
|
||||
'digest_emails',
|
||||
'email_mirror',
|
||||
'embed_links',
|
||||
'error_reports',
|
||||
'feedback_messages',
|
||||
'invites',
|
||||
'message_sender',
|
||||
'missedmessage_emails',
|
||||
'missedmessage_mobile_notifications',
|
||||
'notify_tornado',
|
||||
'signups',
|
||||
'slow_queries',
|
||||
'tornado_return',
|
||||
'user_activity'
|
||||
'user_activity_interval',
|
||||
'user_presence',
|
||||
}
|
||||
|
||||
for queue_name in queues.split("\n"):
|
||||
for queue_name in queues:
|
||||
queue_name = queue_name.strip()
|
||||
consumers[queue_name] = 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user