mirror of
https://github.com/friendica/friendica
synced 2024-12-23 16:00:16 +00:00
Some more standards
This commit is contained in:
parent
b06d787130
commit
e93825b9f0
2 changed files with 3 additions and 2 deletions
|
@ -397,11 +397,12 @@ function poller_kill_stale_workers() {
|
||||||
dbesc(datetime_convert()),
|
dbesc(datetime_convert()),
|
||||||
intval(PRIORITY_NEGLIGIBLE),
|
intval(PRIORITY_NEGLIGIBLE),
|
||||||
intval($pid["pid"]));
|
intval($pid["pid"]));
|
||||||
} else
|
} else {
|
||||||
logger("Worker process ".$pid["pid"]." (".implode(" ", $argv).") now runs for ".round($duration)." of ".$max_duration." allowed minutes. That's okay.", LOGGER_DEBUG);
|
logger("Worker process ".$pid["pid"]." (".implode(" ", $argv).") now runs for ".round($duration)." of ".$max_duration." allowed minutes. That's okay.", LOGGER_DEBUG);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Checks if the number of active workers exceeds the given limits
|
* @brief Checks if the number of active workers exceeds the given limits
|
||||||
|
|
Loading…
Reference in a new issue