* disable pre-caching of data via -Dapplication.warmup=skip

This commit is contained in:
Reinhard Pointner 2013-01-23 18:08:32 +00:00
parent f934efa111
commit 2a8e9a91b7
1 changed files with 3 additions and 1 deletions

View File

@ -169,7 +169,9 @@ public class Main {
} }
// pre-load certain resources in the background // pre-load certain resources in the background
if (!"skip".equals(System.getProperty("application.warmup"))) {
warmupCachedResources(); warmupCachedResources();
}
// check for application updates (only when installed, i.e. not running via fatjar or webstart) // check for application updates (only when installed, i.e. not running via fatjar or webstart)
if (!"skip".equals(System.getProperty("application.update"))) { if (!"skip".equals(System.getProperty("application.update"))) {