Browse Source

Check against chosen_server in the server watchdog

master
Con Kolivas 10 years ago
parent
commit
20746db270
  1. 2
      src/generator.c

2
src/generator.c

@ -1747,7 +1747,7 @@ static void server_watchdog(ckpool_t *ckp, server_instance_t *cursi)
last_t = now_t; last_t = now_t;
/* Is this the highest priority server already? */ /* Is this the highest priority server already? */
if (cursi == ckp->servers[0]) if (cursi == ckp->servers[ckp->chosen_server])
return; return;
if (ckp->proxy) if (ckp->proxy)

Loading…
Cancel
Save