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

Fix #524 - Don't hit external storage during normal file upload #525

Merged
merged 1 commit into from
Dec 7, 2022

Conversation

danmarsden
Copy link
Member

See issue #524 for more background, but this prevents the plugin from hitting the external storage system during a normal file upload - and just relies on the scheduled task to manage the process completely instead.

The alternative here is to add a setting to turn this behaviour on/off but I'm not sure why we need to do this during the user file upload at all and we should just be able to rely on the scheduled tasks.

Passing to @brendanheywood to review - but happy for any other feedback from other interested parties too! :-)

rely on cron processes to do the work.
@brendanheywood
Copy link
Contributor

+1 from me, the main thought I had was around trying to update the metadata location without doing the read, but it's fine to just leave it all the cron to clean up

@brendanheywood brendanheywood merged commit 6eb63f4 into MOODLE_310_STABLE Dec 7, 2022
@brendanheywood brendanheywood deleted the issue524 branch December 7, 2022 06:32
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