Files
nats-server/server
Ivan Kozlovic cd6d71deaa [ADDED] lame_duck_grace_period option
The grace period used to be hardcoded at 10 seconds.
This option allows the user to configure the amount of time the
server will wait before initiating the closing of client connections.

Note that the grace period needs to be strictly lower than the overall
lame_duck_duration. The server deducts the grace period from that
overall duration and spreads the closing of connections during
that time.
For instance, if there are 1000 connections and the lame duck
duration is set to 30 seconds and grace period to 10, then
the server will use 30-10 = 20 seconds to spread the closing
of those 1000 connections, so say roughly 50 clients per second.

Resolves #1459.

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
2020-06-08 11:43:25 -06:00
..
2020-05-29 17:56:45 -07:00
2019-10-15 23:55:13 +08:00
2020-05-19 14:15:11 -07:00
2020-06-01 18:00:13 -04:00
2020-06-01 11:46:18 -07:00
2020-06-08 11:43:25 -06:00
2020-02-25 19:53:09 -05:00
2020-06-02 06:24:46 -07:00
2020-05-29 17:56:45 -07:00
2020-05-29 17:47:08 -06:00
2019-05-06 15:41:38 -07:00
2020-06-05 05:53:01 -07:00
2020-06-05 08:37:18 -07:00
2019-12-12 11:58:24 -07:00
2018-12-06 15:09:14 -08:00
2020-06-01 18:00:13 -04:00
2020-06-08 11:43:25 -06:00
2019-05-10 15:11:30 -07:00
2018-10-06 14:06:14 -07:00
2020-05-29 17:56:45 -07:00
2018-03-15 22:31:07 -07:00
2019-11-14 20:05:32 -07:00
2018-03-15 22:31:07 -07:00
2019-11-14 20:05:32 -07:00
2019-11-14 20:05:32 -07:00
2019-12-12 11:58:24 -07:00
2020-06-02 06:24:46 -07:00
2020-06-01 16:54:41 -07:00