mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
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
09f801adae
commit
7694098bdb
@ -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>
|
2008-06-18 Sancho Lerena <slerena@gmail.com>
|
||||||
|
|
||||||
* pandora_dbstress.pl: Added suppor for "text" moduletypes.
|
* pandora_dbstress.pl: Added suppor for "text" moduletypes.
|
||||||
|
@ -176,6 +176,7 @@ sub pandora_recon_consumer ($$) {
|
|||||||
LOOP: while (1) {
|
LOOP: while (1) {
|
||||||
if ($counter > 10) {
|
if ($counter > 10) {
|
||||||
threads->yield;
|
threads->yield;
|
||||||
|
sleep($pa_config->{"server_threshold"});
|
||||||
$counter = 0;
|
$counter = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user