BBlack has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/384164 )

Change subject: reduce CONN_WAIT_MAX to 8s
......................................................................

reduce CONN_WAIT_MAX to 8s

At modern event rates, 32s is too long to be pausing on
exponential backoff of reconnects.  Limit to 8s.

Change-Id: Ibf4172500278b60b34c18eafcd27288f127913e4
---
M src/purger.c
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/software/varnish/vhtcpd 
refs/changes/64/384164/1

diff --git a/src/purger.c b/src/purger.c
index 1814fc8..1520d98 100644
--- a/src/purger.c
+++ b/src/purger.c
@@ -51,7 +51,7 @@
 //  and/or timing out.  The wait doubles after every failure (but limited to 
the
 //  max), and is reset to initial value on connection success.
 #define CONN_WAIT_INIT 1U
-#define CONN_WAIT_MAX 32U
+#define CONN_WAIT_MAX 8U
 
 // Limits on time/purges per purging socket.  It seems that Varnish imposes no
 //   limit here other than inter-purge idle time, so it's a good idea that we

-- 
To view, visit https://gerrit.wikimedia.org/r/384164
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibf4172500278b60b34c18eafcd27288f127913e4
Gerrit-PatchSet: 1
Gerrit-Project: operations/software/varnish/vhtcpd
Gerrit-Branch: master
Gerrit-Owner: BBlack <bbl...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to