From 3288fa3357de3ccbb4c96bf8677e59cbc5b22bba Mon Sep 17 00:00:00 2001 From: Andre Anjos <andre.dos.anjos@gmail.com> Date: Thu, 28 Apr 2016 11:00:23 +0200 Subject: [PATCH] [settings] Add settings flag to control display of scheduling helper panel --- beat/web/settings/settings.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/beat/web/settings/settings.py b/beat/web/settings/settings.py index 1b20dddf2..0e1f6af8d 100644 --- a/beat/web/settings/settings.py +++ b/beat/web/settings/settings.py @@ -219,11 +219,16 @@ EMAIL_USE_TLS = False # The scheduling interval controls the number of seconds between # scheduling attempts (calls to :py:func:`beat.web.backend.schedule.schedule`) -SCHEDULING_INTERVAL = 5 #seconds +SCHEDULING_INTERVAL = 5 #seconds # The worker interval controls the number of seconds between checks # a particular worker will run to verify jobs are not scheduled to itself -WORKER_INTERVAL = 5 #seconds +WORKER_INTERVAL = 5 #seconds + +# If set, a testing panel that can accomplish scheduling activities will appear +# at the scheduler page allowing administrators to launch scheduling activities +# manually. +SCHEDULING_PANEL = True # The maximum index split errors control the maximum number of times we can # incur in an index split error condition without cancelling the block -- GitLab