Files
nats-server/server
Ivan Kozlovic 971d2350ed Fixed client stalled duration computation and added back Gosched()
This related to PR #1233.

The computation of the time to stall a fast producer was bogus. Fixed
that and added a unit test for the function computing this stalled
duration.

Also, in PR #1233, I had removed Gosched() when a call to flushOutbound()
realizes that the flag is already set. It was forgetting that readLoop
in some cases will call flushOutbound() in place. So there is still
value in unlock/gosched/lock again in that function.

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
2020-01-10 11:21:38 -07:00
..
2019-10-15 23:55:13 +08:00
2020-01-07 14:59:10 -07:00
2019-12-04 20:55:55 -07:00
2020-01-06 16:57:48 -07:00
2019-12-12 11:58:24 -07:00
2019-11-21 15:26:33 -07:00
2019-05-06 15:41:38 -07:00
2019-12-12 11:58:24 -07:00
2019-11-21 14:32:46 -07:00
2019-12-12 11:58:24 -07:00
2018-12-06 15:09:14 -08:00
2019-12-12 11:58:24 -07:00
2019-11-21 17:16:51 -07:00
2019-12-04 17:04:58 -07:00
2019-02-04 17:07:49 -08:00
2019-05-10 15:11:30 -07:00
2018-10-06 14:06:14 -07:00
2020-01-06 16:57:48 -07:00
2019-12-12 11:58:24 -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
2019-01-18 10:54:04 +08:00