Commit bfefb52e authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Emit a message when we sleep, so people know why nothing happens.



git-svn-id: http://www.varnish-cache.org/svn/trunk@3243 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 09f2c42b
......@@ -253,6 +253,7 @@ cmd_delay(CMD_ARGS)
AN(av[1]);
AZ(av[2]);
f = strtod(av[1], NULL);
vtc_log(vl, 3, "delaying %g second(s)", f);
if (f > 100.) {
(void)sleep((int)f);
} else {
......
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