diff options
author | Timo Stark <tippexs91@googlemail.com> | 2022-04-25 12:57:07 +0200 |
---|---|---|
committer | Alejandro Colomar <alx.manpages@gmail.com> | 2022-07-02 14:44:05 +0200 |
commit | f83aef1aab992f97e0f3bc663662055a28b85ee3 (patch) | |
tree | 22c72f45006feed0ac8000cd0084e23d851931be | |
parent | a3699557a3e4605788bb02a34de8a7979ec96629 (diff) | |
download | unit-f83aef1aab992f97e0f3bc663662055a28b85ee3.tar.gz unit-f83aef1aab992f97e0f3bc663662055a28b85ee3.tar.bz2 |
Increased readtimeout for configuration endpoint.
Closes: <https://github.com/nginx/unit/issues/676>
-rw-r--r-- | docs/changes.xml | 6 | ||||
-rw-r--r-- | src/nxt_controller.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/docs/changes.xml b/docs/changes.xml index 65e9d200..12ad11f8 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -44,6 +44,12 @@ handled, and caused a use-after-free bug. </para> </change> +<change type="change"> +<para> +increased the applications' startup timeout. +</para> +</change> + </changes> diff --git a/src/nxt_controller.c b/src/nxt_controller.c index 7510d6f0..e1e9fade 100644 --- a/src/nxt_controller.c +++ b/src/nxt_controller.c @@ -725,7 +725,7 @@ static const nxt_event_conn_state_t nxt_controller_conn_read_state .timer_handler = nxt_controller_conn_read_timeout, .timer_value = nxt_controller_conn_timeout_value, - .timer_data = 60 * 1000, + .timer_data = 300 * 1000, }; |