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:
parent
af5113e0dd
commit
3b78e0799c
|
@ -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.
|
||||
|
|
|
@ -176,6 +176,7 @@ sub pandora_recon_consumer ($$) {
|
|||
LOOP: while (1) {
|
||||
if ($counter > 10) {
|
||||
threads->yield;
|
||||
sleep($pa_config->{"server_threshold"});
|
||||
$counter = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue