You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by mt...@apache.org on 2009/03/30 08:35:49 UTC

svn commit: r759847 - /httpd/httpd/trunk/modules/cluster/mod_heartbeat.c

Author: mturk
Date: Mon Mar 30 06:35:47 2009
New Revision: 759847

URL: http://svn.apache.org/viewvc?rev=759847&view=rev
Log:
If there are multiple hook watchdog threads registered, make sure we fire on default one only

Modified:
    httpd/httpd/trunk/modules/cluster/mod_heartbeat.c

Modified: httpd/httpd/trunk/modules/cluster/mod_heartbeat.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cluster/mod_heartbeat.c?rev=759847&r1=759846&r2=759847&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cluster/mod_heartbeat.c (original)
+++ httpd/httpd/trunk/modules/cluster/mod_heartbeat.c Mon Mar 30 06:35:47 2009
@@ -136,7 +136,7 @@
     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);