1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/testing/anbox/give-more-time-to-start.patch
Antoine Fontaine db320ce112 testing/anbox: upgrade to 0_git20200609
this also makes the give more time to start patch better as it doesn't
need to wait one whole minute on fast computers.

It also adds glm as a dependency, as Anbox now supports compiling with
system's glm.
2020-06-17 15:55:06 +00:00

13 lines
524 B
Diff

Anbox tend not to leave enough time for Android to start.
This patch gives more breathing room.
--- a/src/anbox/cmds/launch.cpp
+++ b/src/anbox/cmds/launch.cpp
@@ -34,7 +34,7 @@
namespace fs = boost::filesystem;
namespace {
-constexpr unsigned int max_session_mgr_wait_attempts{10};
+constexpr unsigned int max_session_mgr_wait_attempts{100};
const std::chrono::seconds session_mgr_wait_interval{5};
constexpr unsigned int max_dbus_service_wait_attempts{10};
const std::chrono::seconds dbus_service_wait_interval{5};