mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-13 03:08:14 +00:00
Jarrod Johnson
5bcde84e14
Fix cpu churn when web sessions open and idle
It turns out that eventlet.green.threading.Event() doesn't behave very efficiently in this context for whatever reason. Use eventlet.event.Event() instead. It was not used before due to lack of timeout and clear, but that is overcome by disposing of it rather than reusing and using with eventlet.Timeout() to add timeout to wait that doesn't have built in timeout.
…
Description
Languages
Python
80.4%
Shell
15.6%
C
3.6%
Perl
0.3%