Improve release indexng on release update

This commit is contained in:
DariusIII
2026-04-10 15:20:12 +02:00
parent 00c6c12da0
commit a7eeeac549
13 changed files with 61 additions and 3 deletions
@@ -190,6 +190,8 @@ class ReleaseFileManager
$updateRows['rarinnerfilecount'] = $releaseFilesCount;
Release::query()->where('id', $context->release->id)->update($updateRows);
}
Search::updateRelease((int) $context->release->id);
}
/**
@@ -221,6 +223,8 @@ class ReleaseFileManager
'passwordstatus' => ReleaseBrowseService::PASSWD_NONE,
]);
Search::updateRelease((int) $release->id);
Log::warning('Release '.$release->id.' skipped after post-processing timeout ('.$newCount.'/'.$maxTimeoutCount.')');
return false;