naparuba/shinken — pull request #891 by Seb-Solon (2013-06-11 16:21:02+00:00)
Title: Rewrite adjust_worker_number_by_load from satellite.py

Please have a look to the code and the self.max_q_size. I "randomly" put a value but I think it may not be the good one.

I also made a pep8 clean and pylint clean in this file :
* Remove useless "\"
* Comment unused import / variable (just uncomment it if it breaks something)
* Lines <= 100
* Visual indent

The main thing to look at is get_max_q_len() and adjust_worker_number_by_load()

NOTE : The min_workers and max_workers are now PER MODULE and not the sum of all workers.