Small variable type fixed, removed unused includes
This commit is contained in:
parent
d673f44c5b
commit
ff430640c0
|
@ -30,12 +30,9 @@ function cronjobs_run(&$argv, &$argc){
|
||||||
|
|
||||||
require_once('include/session.php');
|
require_once('include/session.php');
|
||||||
require_once('include/datetime.php');
|
require_once('include/datetime.php');
|
||||||
require_once('include/items.php');
|
require_once('include/ostatus.php');
|
||||||
require_once('include/Contact.php');
|
|
||||||
require_once('include/email.php');
|
|
||||||
require_once('include/socgraph.php');
|
|
||||||
require_once('mod/nodeinfo.php');
|
|
||||||
require_once('include/post_update.php');
|
require_once('include/post_update.php');
|
||||||
|
require_once('mod/nodeinfo.php');
|
||||||
|
|
||||||
load_config('config');
|
load_config('config');
|
||||||
load_config('system');
|
load_config('system');
|
||||||
|
|
|
@ -279,12 +279,10 @@ function poller_too_much_workers() {
|
||||||
intval(PRIORITY_HIGH));
|
intval(PRIORITY_HIGH));
|
||||||
$high_running = $s[0]["total"];
|
$high_running = $s[0]["total"];
|
||||||
|
|
||||||
logger("High waiting: ".$high_waiting." - high running: ".$high_running);
|
|
||||||
|
|
||||||
/// @todo define maximum number of fastlanes
|
/// @todo define maximum number of fastlanes
|
||||||
if (($high_waiting > 0) AND ($high_running == 0)) {
|
if (($high_waiting > 0) AND ($high_running == 0)) {
|
||||||
logger("There are ".$high_waiting." high priority jobs waiting but none is executed. Open a fastlane.", LOGGER_DEBUG);
|
logger("There are ".$high_waiting." high priority jobs waiting but none is executed. Open a fastlane.", LOGGER_DEBUG);
|
||||||
$queue = $active + 1;
|
$queues = $active + 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue