summaryrefslogtreecommitdiffstats
path: root/modules/cluster/mod_heartmonitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/cluster/mod_heartmonitor.c')
-rw-r--r--modules/cluster/mod_heartmonitor.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/modules/cluster/mod_heartmonitor.c b/modules/cluster/mod_heartmonitor.c
index 0b42baa33d..41137bf085 100644
--- a/modules/cluster/mod_heartmonitor.c
+++ b/modules/cluster/mod_heartmonitor.c
@@ -26,6 +26,7 @@
#include "scoreboard.h"
#include "mod_watchdog.h"
#include "ap_slotmem.h"
+#include "heartbeat.h"
#ifndef HM_UPDATE_SEC
@@ -36,8 +37,6 @@
#define HM_WATHCHDOG_NAME ("_heartmonitor_")
-#define MAXIPSIZE 64
-
const ap_slotmem_provider_t *storage = NULL;
static ap_slotmem_instance_t *slotmem = NULL;
static int maxworkers = 0;
@@ -52,15 +51,6 @@ typedef struct hm_server_t
apr_time_t seen;
} hm_server_t;
-typedef struct hm_slot_server_t
-{
- char ip[MAXIPSIZE];
- int busy;
- int ready;
- apr_time_t seen;
- int id;
-} hm_slot_server_t;
-
typedef struct hm_ctx_t
{
int active;