From 28a565737f64a1ecfce842c60cdc48730af7afd2 Mon Sep 17 00:00:00 2001 From: meeb Date: Fri, 30 Apr 2021 14:00:04 +1000 Subject: [PATCH] set database connections CONN_MAX_AGE to a default of 300, resolves #115 --- tubesync/common/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tubesync/common/utils.py b/tubesync/common/utils.py index 184b57b..cb48275 100644 --- a/tubesync/common/utils.py +++ b/tubesync/common/utils.py @@ -79,6 +79,7 @@ def parse_database_connection_string(database_connection_string): 'PASSWORD': password, 'HOST': hostname, 'PORT': port, + 'CONN_MAX_AGE': 300, }