Add a new configurable health check, to make sure production instances are not taken down by Redis or non-local DB issues
This commit is contained in:
parent
7349d9d4cf
commit
98602a2d0c
4 changed files with 102 additions and 0 deletions
|
@ -179,6 +179,9 @@ class DefaultConfig(object):
|
|||
|
||||
DISTRIBUTED_STORAGE_PREFERENCE = ['local_us']
|
||||
|
||||
# Health checker.
|
||||
HEALTH_CHECKER = ('LocalHealthCheck', {})
|
||||
|
||||
# Userfiles
|
||||
USERFILES_LOCATION = 'local_us'
|
||||
USERFILES_PATH = 'userfiles/'
|
||||
|
|
Reference in a new issue