reduce priority of file persister thread
This commit is contained in:
@@ -46,6 +46,8 @@ class PersisterService extends Service {
|
||||
}
|
||||
|
||||
void load() {
|
||||
Thread.currentThread().setPriority(Thread.MIN_PRIORITY)
|
||||
|
||||
if (location.exists() && location.isFile()) {
|
||||
def slurper = new JsonSlurper()
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user