vmaffione 374d058de7
ThreadPool: optional limit for jobs queue (#1741)
For very busy servers, the internal jobs queue where accepted
sockets are enqueued can grow without limit.
This is a problem for two reasons:
 - queueing too much work causes the server to respond with huge latency,
   resulting in repetead timeouts on the clients; it is definitely
   better to reject the connection early, so that the client
   receives the backpressure signal as soon as the queue is
   becoming too large
 - the jobs list can eventually cause an out of memory condition
2023-12-24 08:20:22 -05:00
..
2023-11-09 19:35:15 -05:00
2021-07-17 13:21:03 -04:00
2022-02-09 17:16:18 -05:00
2021-09-11 14:26:48 -04:00
2021-09-11 14:26:48 -04:00
2023-11-09 19:35:15 -05:00
2017-12-29 22:34:59 -05:00
2023-04-04 07:12:15 -07:00
2013-07-04 18:18:52 -04:00