The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/1783
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === After some discusssion on IRC, it seems that 1s might not be long enough. Let's bump it to 5s until we have a better solution. Signed-off-by: Tycho Andersen <tycho.ander...@canonical.com>
From 6266cb80f73e8163e91cc8f865e19d440a01ae35 Mon Sep 17 00:00:00 2001 From: Tycho Andersen <tycho.ander...@canonical.com> Date: Mon, 21 Mar 2016 11:54:47 -0600 Subject: [PATCH] bump the monitor timeout to 5s After some discusssion on IRC, it seems that 1s might not be long enough. Let's bump it to 5s until we have a better solution. Signed-off-by: Tycho Andersen <tycho.ander...@canonical.com> --- lxd/container_lxc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxd/container_lxc.go b/lxd/container_lxc.go index 3397b69..5733c41 100644 --- a/lxd/container_lxc.go +++ b/lxd/container_lxc.go @@ -1526,7 +1526,7 @@ func (c *containerLXC) getLxcState() (lxc.State, error) { select { case state := <-monitor: return state, nil - case <-time.After(time.Second): + case <-time.After(5 * time.Second): return lxc.StateMap["FROZEN"], LxcMonitorStateError } }
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel