Commit 6a38516a authored by Poul-Henning Kamp's avatar Poul-Henning Kamp Committed by Lasse Karstensen

Use global -t timeout for CLI timeout

parent dc7689ea
......@@ -109,7 +109,7 @@ varnish_ask_cli(const struct varnish *v, const char *cmd, char **repl)
vtc_log(v->vl, 0, "CLI write failed (%s) = %u %s",
cmd, errno, strerror(errno));
}
i = VCLI_ReadResult(v->cli_fd, &retval, &r, 30.0);
i = VCLI_ReadResult(v->cli_fd, &retval, &r, vtc_maxdur);
if (i != 0) {
vtc_log(v->vl, 0, "CLI failed (%s) = %d %u %s",
cmd, i, retval, r);
......
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