supress the redis key length warning
@@ -149,6 +149,12 @@ CHANNEL_LAYERS = {
},
}
+# silence cache key length warnings
+import warnings
+from django.core.cache import CacheKeyWarning
+
+warnings.simplefilter("ignore", CacheKeyWarning)
+
CACHES = {
"default": {
"BACKEND": "tacticalrmm.cache.TacticalRedisCache",
