Added max time remaining debug logging to cron upload
This commit is contained in:
parent
6282881c4a
commit
fe7b93d6d3
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||
|
|
Reference in a new issue