mirror of
https://github.com/veops/cmdb.git
synced 2025-10-10 16:59:19 +08:00
fix: support sealing and unsealing secret in multiple process(more than one workers started by gunicorn)
This commit is contained in:
@@ -5,9 +5,9 @@ from api.models.cmdb import InnerKV
|
||||
from api.extensions import rd
|
||||
|
||||
|
||||
|
||||
class InnerKVManger(object):
|
||||
def __init__(self):
|
||||
self.cache = rd.r
|
||||
pass
|
||||
|
||||
@classmethod
|
||||
|
Reference in New Issue
Block a user