From 09ca3bc6bf0c921e96159a5b15cfc16612f1f161 Mon Sep 17 00:00:00 2001 From: Mladen Turk Date: Mon, 30 Mar 2009 06:35:47 +0000 Subject: [PATCH] If there are multiple hook watchdog threads registered, make sure we fire on default one only git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@759847 13f79535-47bb-0310-9956-ffa450edef68 --- modules/cluster/mod_heartbeat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/cluster/mod_heartbeat.c b/modules/cluster/mod_heartbeat.c index 17fe56d09f..d5d276f49d 100644 --- a/modules/cluster/mod_heartbeat.c +++ b/modules/cluster/mod_heartbeat.c @@ -136,7 +136,7 @@ static int hb_watchdog_step(server_rec *s, const char *name, apr_pool_t *pool) apr_status_t rv; hb_ctx_t *ctx = ap_get_module_config(s->module_config, &heartbeat_module); - if (!ctx->active) { + if (!ctx->active && strcmp(name, AP_WATCHDOG_SINGLETON)) { return OK; } return hb_monitor(ctx, pool); -- 2.40.0