We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e6c0519 + 07403f6 commit 9ac79ebCopy full SHA for 9ac79eb
netbox/core/apps.py
@@ -28,4 +28,7 @@ def ready(self):
28
29
# Clear Redis cache on startup in development mode
30
if settings.DEBUG:
31
- cache.clear()
+ try:
32
+ cache.clear()
33
+ except Exception:
34
+ pass
0 commit comments