]> granicus.if.org Git - apache/commitdiff
Tag the pool at creation time.
authorPaul Querna <pquerna@apache.org>
Thu, 22 Jan 2009 22:08:46 +0000 (22:08 +0000)
committerPaul Querna <pquerna@apache.org>
Thu, 22 Jan 2009 22:08:46 +0000 (22:08 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@736822 13f79535-47bb-0310-9956-ffa450edef68

modules/cluster/mod_heartbeat.c

index 079ded415890c2dfd9b66723dc53597acdfa3b6e..3c456debe6fd4f6ee2d06c923f7574abfee5ac0b 100644 (file)
@@ -139,6 +139,7 @@ static void* APR_THREAD_FUNC hb_worker(apr_thread_t *thd, void *data)
     }
 
     apr_pool_create(&tpool, pool);
+    apr_pool_tag(tpool, "heartbeat_worker_temp");
     while (ctx->keep_running) {
         apr_pool_clear(tpool);
         int mpm_state = 0;
@@ -154,7 +155,6 @@ static void* APR_THREAD_FUNC hb_worker(apr_thread_t *thd, void *data)
             break;
         }
 
-        apr_pool_tag(tpool, "heartbeat_worker_temp");
         hb_monitor(ctx, tpool);
         apr_sleep(apr_time_from_sec(HEARTBEAT_INTERVAL));
     }