1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04:00

* 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

View File

@ -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"))) {