You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey,
i use your nova addon and it works great. But on one page where I list some resources (30 out of 400 total) i noticed that the addon executes the following querys around 800 000 times for every page view. Thats a lot :)
select * from `role_permission` where `role_permission`.`permission_slug` = ? limit 1
select * from `role_permission` where `role_permission`.`permission_slug` = 'teammember' limit 1
Do you know why the querys above get executed so much?
Thanks and greetings
Leo
The text was updated successfully, but these errors were encountered:
leo-unglaub
changed the title
Exdcuting a lot of requests on every page load
Executing a lot of querys on every page load
Jan 31, 2019
Hi. I have also noticed this in a previous project with a lot of Policies. This is caused by the nobodyHasAccess check. Looking at resolving this in 2.0 but for now I would recommend removing it from your permissions to avoid the queries unless you absolutely need it.
Hey,
i use your nova addon and it works great. But on one page where I list some resources (30 out of 400 total) i noticed that the addon executes the following querys around 800 000 times for every page view. Thats a lot :)
Do you know why the querys above get executed so much?
Thanks and greetings
Leo
The text was updated successfully, but these errors were encountered: