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

Add admin setting for partial save #344

Merged
merged 1 commit into from
May 27, 2024

Conversation

bwalkerl
Copy link
Contributor

We've been noticing some issues with excimer appearing in its own profiles when a site is suffering wide scale database issues. This has been traced back to the partial save during web processing, and occur when db writes for the save are taking a significant amount of time.

This goes against the design principle of do no harm, and really should have its own admin setting. The timing can be controlled by 'long_interval_s', but this is also used for saving profiles of finished cron tasks, so the new setting should be different.

This PR adds the setting (defaults to off) and updates the wording of the mentioned settings to reflect proper usage.

There's room to improve the performance of partial saves, but that would be a separate issue and a toggle would still be desired.

@brendanheywood brendanheywood merged commit 0a02afa into MOODLE_35_STABLE May 27, 2024
42 checks passed
@brendanheywood brendanheywood deleted the partial-save-changes branch May 27, 2024 06:04
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