Set background threads to low priority

This commit is contained in:
Vhati 2013-11-02 18:10:46 -04:00
parent 3c17ccc39d
commit 954fabbc32

View file

@ -466,6 +466,7 @@ public class ManagerFrame extends JFrame implements ActionListener, ModsScanObse
appUpdateETagFile
);
initThread.setDaemon( true );
initThread.setPriority( Thread.MIN_PRIORITY );
initThread.start();
}
@ -554,6 +555,7 @@ public class ManagerFrame extends JFrame implements ActionListener, ModsScanObse
ModsScanThread scanThread = new ModsScanThread( modFiles, localModDB, this );
scanThread.setDaemon( true );
scanThread.setPriority( Thread.MIN_PRIORITY );
scanThread.start();
}