Ask java to use min priority on the loader threads.
This commit is contained in:
parent
597dabc47e
commit
e24b1dda9b
@ -54,6 +54,7 @@ public class ConcurrentComponentPresetDatabaseLoader {
|
|||||||
@Override
|
@Override
|
||||||
public Thread newThread(Runnable r) {
|
public Thread newThread(Runnable r) {
|
||||||
Thread t = new Thread(r,"PresetLoaderPool-" + threadCount++);
|
Thread t = new Thread(r,"PresetLoaderPool-" + threadCount++);
|
||||||
|
t.setPriority(Thread.MIN_PRIORITY);
|
||||||
return t;
|
return t;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user