[master] 55918a6 Try to fix waiter ports
Poul-Henning Kamp
phk at FreeBSD.org
Mon Jan 12 15:51:27 CET 2015
commit 55918a63fb199c9838533e158817f4dab09ec8ff
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Mon Jan 12 14:51:17 2015 +0000
Try to fix waiter ports
diff --git a/bin/varnishd/waiter/cache_waiter_ports.c b/bin/varnishd/waiter/cache_waiter_ports.c
index f6b1803..b8ed116 100644
--- a/bin/varnishd/waiter/cache_waiter_ports.c
+++ b/bin/varnishd/waiter/cache_waiter_ports.c
@@ -221,7 +221,7 @@ vws_thread(void *priv)
if (sp) {
double tmo =
- (sp->t_idle + cache_param->timeout_idle) - now;
+ (sp->deadline + cache_param->timeout_idle) - now;
if (tmo < min_t) {
timeout = &min_ts;
More information about the varnish-commit
mailing list