Drain notifys once at the end of the server loop instead of doing it

from the end of every command queue (which could be nested).
This commit is contained in:
nicm
2016-10-15 00:01:01 +00:00
parent ed971268be
commit 9b3ae84993
4 changed files with 4 additions and 33 deletions

View File

@ -192,6 +192,7 @@ server_loop(void)
struct client *c;
server_client_loop();
notify_drain();
if (!options_get_number(global_options, "exit-unattached")) {
if (!RB_EMPTY(&sessions))