* disable pre-caching of data via -Dapplication.warmup=skip
This commit is contained in:
parent
f934efa111
commit
2a8e9a91b7
|
@ -169,7 +169,9 @@ public class Main {
|
|||
}
|
||||
|
||||
// pre-load certain resources in the background
|
||||
warmupCachedResources();
|
||||
if (!"skip".equals(System.getProperty("application.warmup"))) {
|
||||
warmupCachedResources();
|
||||
}
|
||||
|
||||
// check for application updates (only when installed, i.e. not running via fatjar or webstart)
|
||||
if (!"skip".equals(System.getProperty("application.update"))) {
|
||||
|
|
Loading…
Reference in New Issue