Anna Khanova
00032c9d9f
[proxy] Fix dynamic rate limiter ( #7950 )
...
## Problem
There was a bug in dynamic rate limiter, which exhausted CPU in proxy
and proxy wasn't able to accept any connections.
## Summary of changes
1. `if self.available > 1` -> `if self.available >= 1`
2. remove `timeout_at` to use just timeout
3. remove potential infinite loops which can exhaust CPUs.
2024-06-04 05:07:54 +01:00
..
2024-05-30 11:10:27 +01:00
2024-05-29 11:17:05 +01:00
2024-05-03 10:00:29 +02:00
2024-06-04 05:07:54 +01:00
2024-05-30 11:10:27 +01:00
2024-04-11 16:26:01 +00:00
2024-05-29 11:17:05 +01:00
2024-06-04 05:07:54 +01:00
2024-05-03 10:00:29 +02:00
2023-11-27 21:45:15 +00:00
2024-05-22 17:05:43 +00:00
2024-05-30 11:02:38 +00:00
2024-02-21 18:24:59 +01:00
2024-04-11 18:24:34 +00:00
2024-04-11 16:26:01 +00:00
2024-05-28 15:40:52 +00:00
2024-05-29 11:17:05 +01:00
2024-03-22 13:31:10 +00:00
2024-05-30 11:10:27 +01:00
2024-04-11 16:26:01 +00:00
2024-05-02 11:16:04 +02:00
2024-04-11 18:24:34 +00:00
2024-04-11 16:26:01 +00:00
2024-05-30 11:09:27 +01:00
2023-07-03 16:37:02 +03:00
2024-05-22 17:05:43 +00:00
2023-11-06 17:44:44 +00:00
2024-04-25 11:14:04 +01:00
2024-05-30 11:10:27 +01:00
2024-05-29 11:17:05 +01:00
2024-03-22 09:38:04 +01:00
2024-03-21 13:54:06 +00:00
2024-05-22 17:05:43 +00:00
2024-05-16 13:05:50 +02:00
2024-04-15 20:21:50 +02:00
2022-09-21 21:42:47 +03:00
2024-04-17 11:11:49 +02:00
2022-07-04 23:46:37 +03:00