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 5855a88862a8e81b3a892a848a1c23f1076df012
parent b668125ff7613704037a5adce5259a0b79cb8366
Author: Joris Vink <joris@coders.se>
Date:   Mon, 13 Oct 2014 16:34:42 +0200

Increase frequency of idle_check.

Diffstat:
src/worker.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/worker.c b/src/worker.c @@ -281,7 +281,7 @@ kore_worker_entry(struct kore_worker *kw) http_process(); now = kore_time_ms(); - if ((now - idle_check) >= 10000) { + if ((now - idle_check) >= 1000) { idle_check = now; TAILQ_FOREACH(c, &worker_clients, list) { if (c->proto == CONN_PROTO_SPDY &&