Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Mar 15, 2024
1 parent e138bba commit 8664fb0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugin/Live/Live.php
Original file line number Diff line number Diff line change
Expand Up @@ -1927,7 +1927,7 @@ public static function getStats($force_recreate = false)
$rows = Live_servers::getAllActive();
TimeLogEnd($timeName, __LINE__);

_error_log("Live::getStats Live_servers::getAllActive total=" . count($rows));
//_error_log("Live::getStats Live_servers::getAllActive total=" . count($rows));
$liveServers = [];
foreach ($rows as $key => $row) {
if (!empty($row['playerServer'])) {
Expand Down Expand Up @@ -2810,7 +2810,7 @@ public static function isLiveAndIsReadyFromKey($key, $live_servers_id = 0, $live
//_error_log("isLiveAndIsReadyFromKey::key: {$key} isset");
return $_isLiveAndIsReadyFromKey[$name];
}
$cache = $cacheHandler->getCache($name, 60);
$cache = $cacheHandler->getCache($name, 90);
} else {
$cacheHandler->setSuffix($name);
}
Expand All @@ -2819,7 +2819,7 @@ public static function isLiveAndIsReadyFromKey($key, $live_servers_id = 0, $live
}

if (!empty($json) && is_object($json)) {
_error_log("isLiveAndIsReadyFromKey::key: {$key} getCache");
//_error_log("isLiveAndIsReadyFromKey::key: {$key} getCache");
$_isLiveAndIsReadyFromKey[$name] = $json->result;
} else {
$json = new stdClass();
Expand Down

0 comments on commit 8664fb0

Please sign in to comment.