supress the redis key length warning
This commit is contained in:
parent
5d4558bddf
commit
dd6f92e54d
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue