Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More Async Upload Fixes #3571

Merged
merged 3 commits into from
Dec 29, 2022
Merged

More Async Upload Fixes #3571

merged 3 commits into from
Dec 29, 2022

Conversation

kobergj
Copy link
Contributor

@kobergj kobergj commented Dec 28, 2022

Signed-off-by: jkoberg <jkoberg@owncloud.com>
Signed-off-by: jkoberg <jkoberg@owncloud.com>
Signed-off-by: jkoberg <jkoberg@owncloud.com>
@@ -263,15 +263,13 @@ func (upload *Upload) FinishUpload(_ context.Context) error {
}
}

if upload.async {
// handle postprocessing asynchronously but inform there is something in progress
return upload.tp.Propagate(upload.Ctx, n, upload.sizeDiff)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not needed anymore? where do we propagate now?

Copy link
Contributor Author

@kobergj kobergj Dec 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We still propagate. I just switched the code parts so we need to call to upload.tp.Propagate only once

@kobergj kobergj requested a review from micbar December 29, 2022 08:46
Copy link
Member

@micbar micbar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI in ocis confirms the fixes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants