Removed sys_getloadavg() (#1188)

This commit is contained in:
Roman Kelesidis 2023-12-05 16:18:33 +07:00 committed by GitHub
commit ff46ec48a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 2 additions and 35 deletions

View file

@ -54,7 +54,6 @@ foreach ($cron_jobs as $job) {
$msg[] = 'start';
$msg[] = date('m-d');
$msg[] = date('H:i:s');
$msg[] = sprintf('%-4s', round(sys('la'), 1));
$msg[] = sprintf('%05d', getmypid());
$msg[] = $job['cron_title'];
$msg = implode(LOG_SEPR, $msg);
@ -78,7 +77,6 @@ foreach ($cron_jobs as $job) {
$msg[] = ' end';
$msg[] = date('m-d');
$msg[] = date('H:i:s');
$msg[] = sprintf('%-4s', round(sys('la'), 1));
$msg[] = sprintf('%05d', getmypid());
$msg[] = round(utime() - $cron_start_time) . '/' . round(utime() - TIMESTART) . ' sec';
$msg = implode(LOG_SEPR, $msg);