diff --git a/shynet/shynet/settings.py b/shynet/shynet/settings.py index 29c2368..516fc61 100644 --- a/shynet/shynet/settings.py +++ b/shynet/shynet/settings.py @@ -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 + } } }