summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_router.h
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-09-15 20:30:24 +0300
committerMax Romanov <max.romanov@nginx.com>2017-09-15 20:30:24 +0300
commit0bec14878e99de280046e1d1b1a0195e5478c808 (patch)
treef5f40c8b9b4d1f3679d6daf38031002b4160d05b /src/nxt_router.h
parent90ae152ce0ace8f2c41a012b9fa52b2f3283a845 (diff)
downloadunit-0bec14878e99de280046e1d1b1a0195e5478c808.tar.gz
unit-0bec14878e99de280046e1d1b1a0195e5478c808.tar.bz2
Introducing application timeout.
Diffstat (limited to 'src/nxt_router.h')
-rw-r--r--src/nxt_router.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_router.h b/src/nxt_router.h
index b4560a37..f5c5f7aa 100644
--- a/src/nxt_router.h
+++ b/src/nxt_router.h
@@ -88,6 +88,8 @@ struct nxt_app_s {
uint32_t workers;
uint32_t max_workers;
+ nxt_msec_t timeout;
+
nxt_app_type_t type:8;
uint8_t live; /* 1 bit */