mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-02 19:28:55 +00:00
Improve release indexng on release update
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user