Last active
August 4, 2016 19:33
-
-
Save joeljames/dbfa9e562e342ad139011236d8eaf410 to your computer and use it in GitHub Desktop.
Health Monitoring Settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ---------------------------------------------------------------------------- | |
# Health monitoring | |
# -------------------------------------------------------- | |
REDIS_URL = environ.get('REDIS_URL', '') | |
# Queue Heath Monitoring | |
# Allowable max queue size to monitor queue health. | |
ALLOWABLE_MAX_QUEUE_SIZE = int( | |
environ.get( | |
'ALLOWABLE_MAX_QUEUE_SIZE', | |
'10' | |
) | |
) | |
# A comma separated list of queue names to be monitored. | |
MOINITOR_QUEUES = environ.get( | |
'MOINITOR_QUEUES', | |
'default,high_priority' | |
).split(',') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment