diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index eac18e7788..32be6d4421 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,8 @@ + +2008-06-19 Sancho Lerena + + * pandora_recon: Added sleep to main loop to save CPU. + 2008-06-18 Sancho Lerena * pandora_dbstress.pl: Added suppor for "text" moduletypes. diff --git a/pandora_server/bin/pandora_recon b/pandora_server/bin/pandora_recon index 7af2ba670f..ead8489ea7 100755 --- a/pandora_server/bin/pandora_recon +++ b/pandora_server/bin/pandora_recon @@ -176,6 +176,7 @@ sub pandora_recon_consumer ($$) { LOOP: while (1) { if ($counter > 10) { threads->yield; + sleep($pa_config->{"server_threshold"}); $counter = 0; }