@@ -700,8 +700,9 @@ public class Application
|
|||||||
|
|
||||||
// whether to cache code resources and launch from cache
|
// whether to cache code resources and launch from cache
|
||||||
_useCodeCache = Boolean.parseBoolean((String) cdata.get("use_code_cache"));
|
_useCodeCache = Boolean.parseBoolean((String) cdata.get("use_code_cache"));
|
||||||
_codeCacheRetentionDays = cdata.containsKey("code_cache_retention_days") ?
|
String ccRetentionDays = (String) cdata.get("code_cache_retention_days");
|
||||||
Integer.parseInt((String) cdata.get("use_code_cache")) : 7;
|
_codeCacheRetentionDays = ccRetentionDays == null ? 7 :
|
||||||
|
Integer.parseInt(ccRetentionDays);
|
||||||
|
|
||||||
// parse and return our application config
|
// parse and return our application config
|
||||||
UpdateInterface ui = new UpdateInterface();
|
UpdateInterface ui = new UpdateInterface();
|
||||||
|
|||||||
Reference in New Issue
Block a user