Skip to content

Commit cdc230d

Browse files
authored
Merge pull request #8380 from atsareg/fix-short-commands
[9.0] Fix the short commands
2 parents eafd9e1 + 1a6c2e3 commit cdc230d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/DIRAC/Interfaces/Utilities/DConfigCache.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
from DIRAC.Core.Base.Script import Script
1010
from DIRAC.Core.Utilities.File import secureOpenForWrite
1111
from DIRAC.ConfigurationSystem.Client.ConfigurationData import gConfigurationData
12+
from DIRAC.ConfigurationSystem.Client.Helpers.Registry import reset_all_caches
1213

1314

1415
class ConfigCache:
@@ -69,5 +70,6 @@ def cacheConfig(self):
6970
try:
7071
with open(self.configCacheName, "rb") as fh:
7172
gConfigurationData.mergedCFG = pickle.load(fh)
73+
reset_all_caches()
7274
except:
7375
gLogger.error("Cache corrupt or unreadable")

0 commit comments

Comments
 (0)