From ab138c91661aa9b3ba36fb9a1a2154461a1e2372 Mon Sep 17 00:00:00 2001 From: Max Romanov Date: Wed, 27 Dec 2017 17:46:39 +0300 Subject: Changing worker selection precedence. This patch increase precedence of non-started worker over busy worker. 1. idle worker; 2. start new worker; 3. busy worker, but can accept request in advance; --- src/nxt_port.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nxt_port.h') diff --git a/src/nxt_port.h b/src/nxt_port.h index c54a1537..cf30bc92 100644 --- a/src/nxt_port.h +++ b/src/nxt_port.h @@ -166,7 +166,7 @@ struct nxt_port_s { /* Maximum interleave of message parts. */ uint32_t max_share; - uint32_t app_requests; + uint32_t app_pending_responses; uint32_t app_responses; nxt_port_handler_t handler; -- cgit