浏览代码

fix timeout expression

John Anderson 7 年之前
父节点
当前提交
c7778db7f2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      netbox/netbox/settings.py

+ 1 - 1
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'},