Skip to content

Fix sync issues with large post counts and max input vars#377

Open
benplum wants to merge 1 commit intokylephillips:masterfrom
benplum:master
Open

Fix sync issues with large post counts and max input vars#377
benplum wants to merge 1 commit intokylephillips:masterfrom
benplum:master

Conversation

@benplum
Copy link
Copy Markdown

@benplum benplum commented Aug 13, 2025

This will fix menu order issues on large page trees. If a server has a low max_input_vars, or if a page tree is very large, the sync fails. This change will split the sync process into multiple ajax requests.

I set the 'chunk' size to 200 as it seemed good in testing (high enough not to impact small-ish sites, but low enough to work on most servers).

I have tested the changes in production on large and small sites with different structures, but please let me know if you notice any issues.

@PLUS-RobertEhrenleitner
Copy link
Copy Markdown
Contributor

Does this fix the same as PR 337 just in another way?

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