From cb03cf432708da1e1f8edb0796ebd7fd87486c7c Mon Sep 17 00:00:00 2001 From: Torben Nielsen Date: Sun, 3 Mar 2013 16:52:01 +0100 Subject: varnish3: Add gui option to disable backend probing --- config/varnish3/varnish.inc | 24 +++++++++++++++++------- config/varnish3/varnish_backends.xml | 8 +++++++- 2 files changed, 24 insertions(+), 8 deletions(-) (limited to 'config') diff --git a/config/varnish3/varnish.inc b/config/varnish3/varnish.inc index 9d38161e..5ff2896f 100644 --- a/config/varnish3/varnish.inc +++ b/config/varnish3/varnish.inc @@ -329,6 +329,22 @@ function get_backend_config_txt() { $probe_threshold = $backend['probe_threshold']; else $probe_threshold = "5"; + + + if ($backend['probe_disable']) { + $probe = ""; + } else { + $probe = << Copyright (C) 2011 Marcello Coutinho All rights reserved. -*/ +/*/ /* ========================================================================== */ /* Redistribution and use in source and binary forms, with or without @@ -220,6 +220,12 @@ Enter the value of how many of those must have succeeded for us to consider the backend healthy.]]> input + + Disable Probe + probe_disable + Check to disable probing for this backend + checkbox + Mappings Mappings -- cgit v1.2.3