We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents eafd9e1 + 1a6c2e3 commit cdc230dCopy full SHA for cdc230d
src/DIRAC/Interfaces/Utilities/DConfigCache.py
@@ -9,6 +9,7 @@
9
from DIRAC.Core.Base.Script import Script
10
from DIRAC.Core.Utilities.File import secureOpenForWrite
11
from DIRAC.ConfigurationSystem.Client.ConfigurationData import gConfigurationData
12
+from DIRAC.ConfigurationSystem.Client.Helpers.Registry import reset_all_caches
13
14
15
class ConfigCache:
@@ -69,5 +70,6 @@ def cacheConfig(self):
69
70
try:
71
with open(self.configCacheName, "rb") as fh:
72
gConfigurationData.mergedCFG = pickle.load(fh)
73
+ reset_all_caches()
74
except:
75
gLogger.error("Cache corrupt or unreadable")
0 commit comments