fixed high load with last commit
This commit is contained in:
parent
3a84ae674b
commit
5666e82157
2 changed files with 2 additions and 2 deletions
2
ajax.php
2
ajax.php
|
@ -27,7 +27,7 @@ $logLinesMMDVM = getMMDVMLog();
|
|||
$reverseLogLinesMMDVM = $logLinesMMDVM;
|
||||
rsort($reverseLogLinesMMDVM);
|
||||
if ($_GET['section'] == "mode") {
|
||||
$mode = getActualMode(getLastHeard($reverseLogLinesMMDVM, FALSE), $mmdvmconfigs);
|
||||
$mode = getActualMode(getLastHeard($reverseLogLinesMMDVM, TRUE), $mmdvmconfigs);
|
||||
echo $mode;
|
||||
}
|
||||
if ($_GET['section'] == "lastHeard") {
|
||||
|
|
|
@ -473,7 +473,7 @@ function getHeardList($logLines, $onlyLast) {
|
|||
$rssi = "";
|
||||
$ts1alias = "---";
|
||||
$ts2alias = "---";
|
||||
if ($onlyLast && count($heardList )> 4) {
|
||||
if ($onlyLast && count($heardList )> 20) {
|
||||
return $heardList;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue