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 for the cleanup_history task with a large number of parameters #153

Merged
merged 1 commit into from
Oct 22, 2021

Conversation

nhoobin
Copy link
Contributor

@nhoobin nhoobin commented Oct 18, 2021

PostgreSQL has a limit of 65535 parameters and this was exceeded causing the task to fail.
MySQL has does not have a parameter limit, but there is a sysvar_max_allowed_packet which would fail out once exceeded.

@nhoobin nhoobin force-pushed the fix_cleanup_helper_task branch 3 times, most recently from 07850e9 to e54235b Compare October 18, 2021 02:17
@mattporritt
Copy link

Hi @nhoobin
I've just branched this plugin into pre and post Moodle 3.11. There was some breaking unit test changes in PHPUnit 9 plus Moodle has removed some user profile fields for 3.11. Github actions for both branches should now be passing.

Just rebase this MR and I"ll review and merge it in

PostgreSQL has a limit of 65535 parameters and this was exceeded causing the task to fail.
MySQL has does not have a parameter limit, but there is a sysvar_max_allowed_packet which would fail out once exceeded.
@nhoobin nhoobin force-pushed the fix_cleanup_helper_task branch from e54235b to 930377b Compare October 21, 2021 22:45
@nhoobin
Copy link
Contributor Author

nhoobin commented Oct 21, 2021

Thanks for that. I'll cherry pick this and create a pull request for the new MOODLE_311 branch.

@mattporritt mattporritt merged commit 51899f3 into master Oct 22, 2021
@dmitriim dmitriim deleted the fix_cleanup_helper_task branch March 11, 2022 00: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