monitoring: Fix check-rabbitmq-consumers.

Missing commas in the definition of all the queues to check meant that it would be looking for queues with concatenated names, rather than the correct ones. Added the commas.
This commit is contained in:
Tom Daff 2020-03-26 00:19:16 +00:00 committed by GitHub
parent 1826bac1b1
commit 2f213f7c8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ consumers = defaultdict(int) # type: Dict[str, int]
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(__file__))))) sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(__file__)))))
queues = { queues = {
'deferred_work' 'deferred_work',
'digest_emails', 'digest_emails',
'email_mirror', 'email_mirror',
'embed_links', 'embed_links',
@ -60,7 +60,7 @@ queues = {
'outgoing_webhooks', 'outgoing_webhooks',
'signups', 'signups',
'slow_queries', 'slow_queries',
'user_activity' 'user_activity',
'user_activity_interval', 'user_activity_interval',
'user_presence', 'user_presence',
# These queues may not be present if settings.TORNADO_PROCESSES > 1 # These queues may not be present if settings.TORNADO_PROCESSES > 1