add startup delay to avoid bottleneck on app start

This commit is contained in:
adbenitez
2025-11-22 00:05:40 +01:00
parent 2a3934cbd7
commit 118d4f864f
@@ -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) {