From da947d1642aaade0f814dcea53f8f577f28187b1 Mon Sep 17 00:00:00 2001 From: LiFeng Date: Sat, 19 Jan 2019 02:05:17 -0500 Subject: [PATCH 049/139] Add 100ms timeout for console epoll add 100ms timeout for console epoll to avoid lose console Signed-off-by: LiFeng --- src/lxc/start.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxc/start.c b/src/lxc/start.c index 7bbcb00..daf2af4 100644 --- a/src/lxc/start.c +++ b/src/lxc/start.c @@ -643,7 +643,7 @@ int lxc_poll(const char *name, struct lxc_handler *handler) goto out_mainloop_console; if (has_console) - ret = lxc_mainloop(&descr_console, 0); + ret = lxc_mainloop(&descr_console, 100); out_mainloop_console: if (has_console) { -- 1.8.3.1