Yelp / python-gearman

Gearman API - Client, worker, and admin client interfaces
http://github.com/Yelp/python-gearman/
Other
242 stars 123 forks source link

100% CPU load after refactoring poll_connections_once #56

Open yetty opened 10 years ago

yetty commented 10 years ago

After refactoring of method poll_connections_once in commit 595f1898de785af3cb8aade78541bfaddc52ce14 python-gearman causes 100% CPU load until timeout is reached.

ValdikSS commented 10 years ago

Can confirm. Could be solved with worker.work(poll_timeout=1)