mirror of
https://github.com/apache/httpd.git
synced 2025-08-15 23:27:39 +00:00
Tag the pool at creation time.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@736822 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -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));
|
||||
}
|
||||
|
Reference in New Issue
Block a user