mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
add startup delay to avoid bottleneck on app start
This commit is contained in:
@@ -223,6 +223,7 @@ public class ApplicationContext extends MultiDexApplication {
|
||||
}
|
||||
|
||||
Util.runOnBackground(() -> {
|
||||
Util.sleep(10*1000); // 10s delay to avoid startup bottleneck
|
||||
final Pattern WEBXDC_URL_PATTERN =
|
||||
Pattern.compile("^https?://acc(\\d+)-msg(\\d+)\\.localhost/?");
|
||||
while (true) {
|
||||
|
||||
Reference in New Issue
Block a user