Set background threads to low priority
This commit is contained in:
parent
3c17ccc39d
commit
954fabbc32
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue