mirror of https://github.com/jumpserver/jumpserver
[Update] 每次启动失效设置的cache
parent
924affd978
commit
dcf6959cff
|
@ -58,6 +58,7 @@ def monkey_patch_settings(sender, **kwargs):
|
|||
cache.delete(key)
|
||||
|
||||
try:
|
||||
cache.delete_pattern(cache_key_prefix+'*')
|
||||
LazySettings.__getattr__ = monkey_patch_getattr
|
||||
LazySettings.__setattr__ = monkey_patch_setattr
|
||||
LazySettings.__delattr__ = monkey_patch_delattr
|
||||
|
|
Loading…
Reference in New Issue