2008-06-19 Sancho Lerena <slerena@gmail.com>

* pandora_recon: Added sleep to main loop to save CPU.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@885 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
slerena 2008-06-19 14:35:54 +00:00
parent af5113e0dd
commit 3b78e0799c
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2008-06-19 Sancho Lerena <slerena@gmail.com>
* pandora_recon: Added sleep to main loop to save CPU.
2008-06-18 Sancho Lerena <slerena@gmail.com>
* pandora_dbstress.pl: Added suppor for "text" moduletypes.

View File

@ -176,6 +176,7 @@ sub pandora_recon_consumer ($$) {
LOOP: while (1) {
if ($counter > 10) {
threads->yield;
sleep($pa_config->{"server_threshold"});
$counter = 0;
}