mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-13 03:48:49 +00:00
"log" is replaced with the corresponding logging functions
This commit is contained in:
parent
fd078ee0e2
commit
0bf6612ea3
31 changed files with 72 additions and 72 deletions
|
@ -10,7 +10,7 @@ function pumpio_sync_run($argv, $argc) {
|
|||
if (function_exists('sys_getloadavg')) {
|
||||
$load = sys_getloadavg();
|
||||
if (intval($load[0]) > DI::config()->get('system', 'maxloadavg', 50)) {
|
||||
Logger::log('system: load ' . $load[0] . ' too high. Pumpio sync deferred to next scheduled run.');
|
||||
Logger::notice('system: load ' . $load[0] . ' too high. Pumpio sync deferred to next scheduled run.');
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue