reduce async task priority
This commit is contained in:
parent
5e722c091f
commit
a5c9b9edac
@ -49,6 +49,7 @@ public class AsyncExecutor {
|
|||||||
public Thread newThread(Runnable r) {
|
public Thread newThread(Runnable r) {
|
||||||
Thread thread = new Thread(r, "VtmAsyncExecutor");
|
Thread thread = new Thread(r, "VtmAsyncExecutor");
|
||||||
thread.setDaemon(true);
|
thread.setDaemon(true);
|
||||||
|
thread.setPriority(Thread.NORM_PRIORITY - 1);
|
||||||
return thread;
|
return thread;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user