From c7778db7f21b72e7a682fcf969440577a9003fcf Mon Sep 17 00:00:00 2001 From: John Anderson Date: Wed, 17 Apr 2019 12:38:54 -0400 Subject: [PATCH] fix timeout expression --- netbox/netbox/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/netbox/settings.py b/netbox/netbox/settings.py index 4c682c39d..c05898525 100644 --- a/netbox/netbox/settings.py +++ b/netbox/netbox/settings.py @@ -244,7 +244,7 @@ CACHEOPS_DEFAULTS = { 'timeout': CACHE_TIMEOUT } CACHEOPS = { - 'auth.user': {'ops': 'get', 'timeout': 60*15}, + 'auth.user': {'ops': 'get', 'timeout': 60 * 15}, 'auth.*': {'ops': ('fetch', 'get')}, 'auth.permission': {'ops': 'all'}, 'dcim.*': {'ops': 'all'},