mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
priorize smtp threads
This commit is contained in:
@@ -195,6 +195,7 @@ public class ApplicationDcContext extends DcContext {
|
||||
}
|
||||
}
|
||||
}, "imapThread");
|
||||
imapThread.setPriority(Thread.NORM_PRIORITY);
|
||||
imapThread.start();
|
||||
}
|
||||
|
||||
@@ -224,6 +225,7 @@ public class ApplicationDcContext extends DcContext {
|
||||
}
|
||||
}
|
||||
}, "smtpThread");
|
||||
smtpThread.setPriority(Thread.MAX_PRIORITY);
|
||||
smtpThread.start();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user