We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47800a2 commit d292c30Copy full SHA for d292c30
1 file changed
lib/Service/GoogleDriveAPIService.php
@@ -155,6 +155,7 @@ public function importDriveJob(string $userId): void {
155
if ($jobRunning) {
156
$lastJobStart = $this->config->getUserValue($userId, Application::APP_ID, 'drive_import_job_last_start');
157
if ($lastJobStart !== '' && ($nowTs - intval($lastJobStart) < Application::IMPORT_JOB_TIMEOUT)) {
158
+ $this->logger->info('Last job execution (' . strval($nowTs - intval($lastJobStart)) . ') is less than ' . strval(Application::IMPORT_JOB_TIMEOUT) . ' seconds ago, delaying execution');
159
// last job has started less than an hour ago => we consider it can still be running
160
$this->jobList->add(ImportDriveJob::class, ['user_id' => $userId]);
161
return;
0 commit comments