Make task delay a configurable setting.

This commit is contained in:
Roberto Rosario
2015-09-23 01:09:21 -04:00
parent fac103bcfd
commit 59ae20a867
2 changed files with 11 additions and 1 deletions
+8
View File
@@ -35,3 +35,11 @@ setting_auto_logging = namespace.add_setting(
'Automatically enable logging to all apps.'
)
)
settings_db_sync_task_delay = namespace.add_setting(
global_name='COMMON_DB_SYNC_TASK_DELAY',
default=2,
help_text=_(
'Time to delay background task that depend on a database commit to '
'propagate'
)
)