mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-13 23:59:41 -06:00
Merge pull request #9465 from kobergj/HardenPPResume
Fix bulk postprocessing restart
This commit is contained in:
5
changelog/unreleased/harden-postprocessing-restart.md
Normal file
5
changelog/unreleased/harden-postprocessing-restart.md
Normal file
@@ -0,0 +1,5 @@
|
||||
Bugfix: Allow all uploads to restart
|
||||
|
||||
On postprocessing-restart, allow all uploads to restart even if one fails.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9465
|
||||
@@ -246,7 +246,6 @@ func (pps *PostprocessingService) handleResumePPEvent(ctx context.Context, ev ev
|
||||
for _, id := range ids {
|
||||
if err := pps.resumePP(ctx, id); err != nil {
|
||||
pps.log.Error().Str("uploadID", id).Err(err).Msg("cannot resume upload")
|
||||
return fmt.Errorf("cannot resume upload: %w", err)
|
||||
}
|
||||
}
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user