From 6e120462d22615d68483e34c443cb794d57e5381 Mon Sep 17 00:00:00 2001 From: John Whitlock Date: Mon, 12 Nov 2018 10:20:42 -0600 Subject: [PATCH] bug 957802: Fix comment for CONN_MAX_AGE An integer value is the lifetime of a database connection, in seconds, not the number of requests before closing: https://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CONN_MAX_AGE --- kuma/settings/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kuma/settings/common.py b/kuma/settings/common.py index 6def2f98548..b0fee79f752 100644 --- a/kuma/settings/common.py +++ b/kuma/settings/common.py @@ -59,7 +59,7 @@ def __call__(self, value): MANAGERS = ADMINS -# CONN_MAX_AGE: 'persistent' to keep open connection, or max requests before +# CONN_MAX_AGE: 'persistent' to keep open connection, or max seconds before # releasing. Default is 0 for a new connection per request. def parse_conn_max_age(value): try: