summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_router.h
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-12-27 17:48:53 +0300
committerMax Romanov <max.romanov@nginx.com>2017-12-27 17:48:53 +0300
commit47bc1c53d6af98a4b2ea39e18a9fd3f1f81afc69 (patch)
tree24d4813abd1dfcc7af2e49a8ccba614ac0436bce /src/nxt_router.h
parent5196cf4d5003dade99321f71bcc1af80f0e5ad50 (diff)
downloadunit-47bc1c53d6af98a4b2ea39e18a9fd3f1f81afc69.tar.gz
unit-47bc1c53d6af98a4b2ea39e18a9fd3f1f81afc69.tar.bz2
Implementing worker stop after limits.requests.
Diffstat (limited to '')
-rw-r--r--src/nxt_router.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nxt_router.h b/src/nxt_router.h
index 89543a1b..76a04d6e 100644
--- a/src/nxt_router.h
+++ b/src/nxt_router.h
@@ -89,6 +89,7 @@ struct nxt_app_s {
uint32_t workers;
uint32_t max_workers;
uint32_t max_pending_responses;
+ uint32_t max_requests;
nxt_msec_t timeout;
nxt_nsec_t res_timeout;