Commit 1e3954d9 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Use 10 second CLI timeout



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2817 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 6ce2f1ee
......@@ -89,7 +89,7 @@ varnish_ask_cli(const struct varnish *v, const char *cmd, char **repl)
assert(i == strlen(cmd));
i = write(v->cli_fd, "\n", 1);
assert(i == 1);
i = cli_readres(v->cli_fd, &retval, &r, 1.0);
i = cli_readres(v->cli_fd, &retval, &r, 10.0);
assert(i == 0);
vtc_dump(v->vl, 4, "CLI RX", r);
vtc_log(v->vl, 3, "CLI STATUS %u", retval);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment