1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

Make balancer manager health-check aware

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1725120 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jim Jagielski
2016-01-17 20:12:09 +00:00
parent 28480a1636
commit 2fda66ec46
4 changed files with 38 additions and 12 deletions

View File

@@ -446,6 +446,11 @@ struct proxy_worker {
void *context; /* general purpose storage */
};
/* default to health check every 30 seconds */
#define HCHECK_WATHCHDOG_DEFAULT_INTERVAL (30)
/* The watchdog runs every 5 seconds, which is also the minimal check */
#define HCHECK_WATHCHDOG_INTERVAL (5)
/*
* Time to wait (in microseconds) to find out if more data is currently
* available at the backend.