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

Créneaux : optimisation des requêtes SQL #849

Merged
merged 2 commits into from
May 13, 2023

Conversation

petitalb
Copy link
Collaborator

@petitalb petitalb commented May 13, 2023

Suite de #845 / dupliqué à partir de #847

Quoi ?

Optimiser le chargement des pages qui affichent des créneaux.

Page Nombre de requêtes avant Nombre de requêtes après Commentaire
/booking 13 pas besoin
/schedule 7 pas besoin
/booking/admin 238 10 🎉

@raphodn raphodn force-pushed the raphodn/cleanup-optimizations-2 branch from 12769d5 to a2b5d45 Compare May 13, 2023 07:13
Base automatically changed from raphodn/cleanup-optimizations-2 to master May 13, 2023 07:14
@raphodn raphodn force-pushed the raphodn/cleanup-optimizations-3 branch from 4d5d0af to 54de1ed Compare May 13, 2023 07:15
@raphodn raphodn merged commit 3fbdd16 into master May 13, 2023
@raphodn raphodn deleted the raphodn/cleanup-optimizations-3 branch May 13, 2023 07:15
@raphodn raphodn self-assigned this May 18, 2023
OursDesCavernes pushed a commit to Les400Coop/gestion-compte that referenced this pull request Jan 20, 2024
* Shifts: prefetch data to reduce the number of queries

* Manage case where shops have display_name_shifters

---------

Co-authored-by: Raphael Odini <raphodn@users.noreply.github.com>
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