-
Notifications
You must be signed in to change notification settings - Fork 5
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
Duplicate query issue with large data #15
Comments
Whoa 🤯 @parthi-me Reasons caches all data in production (i.e. when |
Yes @mmikkel Above mentioned site is in development mode. |
@parthi-me I've implemented a fix – if you'd be able to help me test it, that'd be great: Change your
Then run Thanks! |
Thank you @mmikkel, Above fix is working fine in the initial testing. Attached is the same utilities page, which is loading only 67queries, reduced from 12000 queries previously. |
@parthi-me Thank you for the follow-up! That’s quite an improvement… I’ll get a release out with that fix ASAP. |
@parthi-me Just tagged release 2.2.6 with that fix. Thanks for reporting! |
Hi,
We have a craft cms site, with nearly 300 sections, each section has only one entry type with 5 or 6 conditional fields. We see a huge delay when switching over control panel menu pages. This occurs on all menus even when switching between settings, utilities etc,
Our initial findings are showing there are a lot of duplicate queries initiated by reasons plugin is the cause for this delay.
For example, when we load the utilities page, after disabling the plugin only 60 odd queries were running, After enabling we see nearly 12000 queries were running. See attached,
Could we load the queries only on the pages needed?
System info:
PHP version 7.4.24
OS version Linux 5.4.0-91-generic
Database driver & version MySQL 5.7.35
Image driver & version GD 7.4.24
Craft edition & version Craft Pro 3.7.28
Yii version 2.0.44
Twig version v2.14.10
Guzzle version 7.4.1
Reason plugin version - 2.2.5
The text was updated successfully, but these errors were encountered: