Commit 02a58340 by Kálmán Viktor

dashboard: change periodic task intervals

parent fa34f7cb
...@@ -74,19 +74,19 @@ celery.conf.update( ...@@ -74,19 +74,19 @@ celery.conf.update(
'monitor.measure_response_time': { 'monitor.measure_response_time': {
'task': 'monitor.tasks.local_periodic_tasks.' 'task': 'monitor.tasks.local_periodic_tasks.'
'measure_response_time', 'measure_response_time',
'schedule': timedelta(seconds=5), 'schedule': timedelta(seconds=30),
'options': {'queue': 'localhost.man'} 'options': {'queue': 'localhost.man'}
}, },
'monitor.check_celery_queues': { 'monitor.check_celery_queues': {
'task': 'monitor.tasks.local_periodic_tasks.' 'task': 'monitor.tasks.local_periodic_tasks.'
'check_celery_queues', 'check_celery_queues',
'schedule': timedelta(seconds=5), 'schedule': timedelta(seconds=60),
'options': {'queue': 'localhost.man'} 'options': {'queue': 'localhost.man'}
}, },
'monitor.instance_per_template': { 'monitor.instance_per_template': {
'task': 'monitor.tasks.local_periodic_tasks.' 'task': 'monitor.tasks.local_periodic_tasks.'
'instance_per_template', 'instance_per_template',
'schedule': timedelta(seconds=5), 'schedule': timedelta(seconds=30),
'options': {'queue': 'localhost.man'} 'options': {'queue': 'localhost.man'}
}, },
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment