Start having the monitor thread emit events for monitored conditions.
This is the only reasonable path I could think of to enable memory monitoring, with gevent just being responsible for monitoring the memory and detecting overage conditions, while users plug in their own policies.
Showing
... | ... | @@ -23,10 +23,15 @@ idna |
psutil | ||
# benchmarks use this | ||
perf | ||
# Used in a test | ||
# Events | ||
zope.event | ||
zope.interface | ||
# Tests | ||
requests | ||
# For viewing README.rst (restview --long-description), | ||
# CONTRIBUTING.rst, etc. | ||
# https://github.com/mgedmin/restview | ||
restview | ||
-r rtd-requirements.txt |
cython >= 0.23.4 | ||
cython >= 0.28 | ||
repoze.sphinx.autointerface |
src/gevent/events.py
0 → 100644
Please register or sign in to comment