Skip to content

Instantly share code, notes, and snippets.

@joeljames
Last active August 4, 2016 19:33
Show Gist options
  • Save joeljames/dbfa9e562e342ad139011236d8eaf410 to your computer and use it in GitHub Desktop.
Save joeljames/dbfa9e562e342ad139011236d8eaf410 to your computer and use it in GitHub Desktop.
Health Monitoring Settings
# ----------------------------------------------------------------------------
# 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