kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 11fca1992320b65dfa5438385fe258869a69820f
parent ab0dc25c61837db7ab6e62684b331c411b46c580
Author: Joris Vink <joris@coders.se>
Date:   Tue,  4 Jun 2013 16:17:42 +0200

be less spammy

Diffstat:
src/kore.c | 6++----
1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/kore.c b/src/kore.c @@ -127,7 +127,6 @@ main(int argc, char *argv[]) for (;;) { if (sig_recv != 0) { - kore_log("signal %d received", sig_recv); if (sig_recv == SIGHUP) { TAILQ_FOREACH(kw, &kore_workers, list) { if (kill(kw->pid, SIGHUP) == -1) { @@ -151,10 +150,9 @@ main(int argc, char *argv[]) kore_log("kill(%d, SIGINT): %s", kw->pid, errno_s); } - while (!TAILQ_EMPTY(&kore_workers)) { - kore_log("waiting for workers to drain and finish"); + kore_log("waiting for workers to drain and finish"); + while (!TAILQ_EMPTY(&kore_workers)) kore_worker_wait(1); - } kore_log("server shutting down"); close(server.fd);