Browse Source

We should be doing a cmdmatch not a full string match for heartbeat commands

master
Con Kolivas 10 years ago
parent
commit
c8a330dbd8
  1. 2
      src/stratifier.c

2
src/stratifier.c

@ -2802,7 +2802,7 @@ static void ckdbq_process(ckpool_t *ckp, char *msg)
cmd = response;
strsep(&cmd, ".");
LOGDEBUG("Got ckdb response: %s cmd %s", response, cmd);
if (!safecmp(cmd, "heartbeat=")) {
if (cmdmatch("heartbeat=", cmd)) {
strsep(&cmd, "=");
parse_ckdb_cmd(ckp, cmd);
}

Loading…
Cancel
Save