MCPcopy Create free account
hub / github.com/apache/httpd / hb_watchdog_step

Function hb_watchdog_step

modules/cluster/mod_heartbeat.c:130–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130static int hb_watchdog_step(server_rec *s, const char *name, apr_pool_t *pool)
131{
132 hb_ctx_t *ctx = ap_get_module_config(s->module_config, &heartbeat_module);
133
134 if (!ctx->active || strcmp(name, AP_WATCHDOG_SINGLETON)) {
135 return OK;
136 }
137 return hb_monitor(ctx, pool);
138}
139
140static int hb_watchdog_need(server_rec *s, const char *name,
141 int parent, int singleton)

Callers

nothing calls this directly

Calls 2

ap_get_module_configFunction · 0.85
hb_monitorFunction · 0.85

Tested by

no test coverage detected