mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-07 12:50:21 -06:00
fix(postprocessing): fix multi-restart
Signed-off-by: jkoberg <jkoberg@owncloud.com>
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