Just easier code ...
Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
parent
425665795d
commit
d88606321d
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ function poller_max_connections_reached() {
|
|||
function poller_kill_stale_workers() {
|
||||
$r = q("SELECT `pid`, `executed` FROM `workerqueue` WHERE `executed` != '0000-00-00 00:00:00'");
|
||||
|
||||
if (!is_array($r) || count($r) == 0) {
|
||||
if (!is_filled_array($r)) {
|
||||
// No processing here needed
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue