diff options
author | Max Romanov <max.romanov@nginx.com> | 2017-12-27 17:46:39 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2017-12-27 17:46:39 +0300 |
commit | ab138c91661aa9b3ba36fb9a1a2154461a1e2372 (patch) | |
tree | 81b4be9839005d4a807090a241c7857c44dae85f /src/nxt_port.h | |
parent | 89c0f7c5db5003b8fd8df3e1babb0c802004bf4c (diff) | |
download | unit-ab138c91661aa9b3ba36fb9a1a2154461a1e2372.tar.gz unit-ab138c91661aa9b3ba36fb9a1a2154461a1e2372.tar.bz2 |
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;
Diffstat (limited to 'src/nxt_port.h')
-rw-r--r-- | src/nxt_port.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |