소스 검색

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