Fixed cache
This commit is contained in:
parent
b6b1cec7d5
commit
43902161d2
Binary file not shown.
Binary file not shown.
@ -107,6 +107,9 @@ public class RulesManager {
|
||||
}
|
||||
Utils.out.println(Utils.OUTPUTLEVEL_NODEBUG, "RulesManager", "Loaded all the rules successfully");
|
||||
if (compiledSomething) {
|
||||
if (cacheFilePath.toFile().exists()) {
|
||||
cacheFilePath.toFile().delete();
|
||||
}
|
||||
Utils.zip(tDir.toString(), cacheFilePath.toString(), "");
|
||||
Utils.out.println(Utils.OUTPUTLEVEL_NODEBUG, "RulesManager", "Cached the compiled rules");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user