model: add missing params to validate_database_url
This commit is contained in:
parent
6d7036cb4a
commit
2869e2a6ea
1 changed files with 1 additions and 1 deletions
|
@ -2776,7 +2776,7 @@ def check_health(app_config):
|
|||
# making a normal connect which will just hang (thus breaking the health
|
||||
# check).
|
||||
try:
|
||||
validate_database_url(app_config['DB_URI'], connect_timeout=3)
|
||||
validate_database_url(app_config['DB_URI'], {}, connect_timeout=3)
|
||||
except Exception:
|
||||
logger.exception('Could not connect to the database')
|
||||
return False
|
||||
|
|
Reference in a new issue