Skip to content
Snippets Groups Projects
Commit 46d267c7 authored by Victor Feyens's avatar Victor Feyens
Browse files

[IMP] base: user defaults groups performance

Improve the performance of the default method for user groups by avoiding a `ref` call,
using the group in cache instead.

Calls to ref always trigger one SQL query to verify record still exists
This means that creating 10k user would trigger 10k queries only for the default.

X-original-commit: e67efb88338ef669059591728e7722fe1dff4bf0
parent e3c329b9
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment