Added max time remaining debug logging to cron upload

This commit is contained in:
Matthew Barbour 2020-12-29 12:06:29 -06:00
parent 6282881c4a
commit fe7b93d6d3

View file

@ -365,6 +365,9 @@ class CronUploader extends Extension
$execution_time = microtime(true) - $_shm_load_start;
if ($execution_time>$max_time) {
break;
} else {
$remaining = $max_time - $execution_time;
$this->log_message(SCORE_LOG_DEBUG, "Max run time remaining: $remaining");
}
try {
$database->begin_transaction();