Add database connection timeout

This commit is contained in:
R. Miles McCain 2020-05-21 20:59:58 -04:00
parent 4e13842334
commit 387c1e375d
No known key found for this signature in database
GPG Key ID: 24F9B6A2588C5408

View File

@ -105,6 +105,9 @@ else:
"PASSWORD": os.environ.get("DB_PASSWORD"),
"HOST": os.environ.get("DB_HOST"),
"PORT": os.environ.get("DB_PORT"),
"OPTIONS": {
"connect_timeout": 5
}
}
}