From ea45374dcbc37e301316186007584ca2b661d3cc Mon Sep 17 00:00:00 2001 From: Christophe Siraut Date: Tue, 17 Apr 2018 15:44:36 +0200 Subject: [PATCH 2/2] debian/debian_config_common.py: add inline documentation about DISABLE_CRON_JOBS (#15470) --- debian/debian_config_common.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/debian_config_common.py b/debian/debian_config_common.py index a78f263..4aa4e7b 100644 --- a/debian/debian_config_common.py +++ b/debian/debian_config_common.py @@ -24,6 +24,12 @@ ADMINS = ( EMAIL_SUBJECT_PREFIX = '[%s] ' % PROJECT_NAME +# For high availability installations with multiple instances of Publik +# components, one should disable cron jobs execution on secondary servers; +# set the following variable True disables all tenant_commands launched with +# option "--all-tenants". +DISABLE_CRON_JOBS = False + LOGGING = { 'version': 1, 'disable_existing_loggers': True, -- 2.11.0