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

Reduce the number of SQL queries in updates of groups #255

Merged
merged 4 commits into from
Oct 4, 2022

Commits on Sep 5, 2022

  1. Reduce the number of SQL queries

    - only one query instead of one for each group when no MIRROR_GROUPS
    - the use of iterator() inside a list() creates a useless SQL cursor
    - avoid to create Django instances of groups by using values_list()
    - replace a frozenset by a tuple
    stephane committed Sep 5, 2022
    Configuration menu
    Copy the full SHA
    9f8448b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    40f2de6 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2022

  1. Configuration menu
    Copy the full SHA
    c956402 View commit details
    Browse the repository at this point in the history
  2. Test without MIRROR_GROUPS

    stephane committed Sep 24, 2022
    Configuration menu
    Copy the full SHA
    e440441 View commit details
    Browse the repository at this point in the history