sds <s...@gnu.org> added the comment:

I don't think you need this complexity - just keep the pool max size and submit 
jobs only when the loadavg drops below the threshold.
See my implementation attached.

----------
Added file: https://bugs.python.org/file48898/run-at-load-avg.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39617>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to