mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
b0e5757710
We cleared this value in second_elapsed_callback. But what were we using it for? For detecting if Libevent returned EINVAL too often! We already have a way to detect too-frequent events, and that's with a ratelim_t. Refactor the code to use that instead. Closes ticket 26016.
5 lines
207 B
Plaintext
5 lines
207 B
Plaintext
o Code simplification and refactoring:
|
|
- Use our standard rate-limiting code to deal with excessive libevent
|
|
failures, rather than the hand-rolled logic we had before.
|
|
Closes ticket 26016.
|