model: add missing params to validate_database_url

This commit is contained in:
Jimmy Zelinskie 2015-07-15 17:39:26 -04:00
parent 6d7036cb4a
commit 2869e2a6ea

View file

@ -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