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

UserResource perf improvements #673

Merged
merged 3 commits into from
Oct 7, 2023
Merged

UserResource perf improvements #673

merged 3 commits into from
Oct 7, 2023

Conversation

lukasjuhrich
Copy link
Collaborator

Fixes #615

For users with lots of transactions (>50), this gives up to a tenfold
improvement in API call runtime.

Refs #615
This is done by replacing group lookups by more performant property
lookups (due to easily eager-loadable `current_properties` view)

Fixes #615 (in combination with previous commit)
This is to avoid confusing `docker compose up` – it often exits with
code `1`, most likely because it does not expect the container to exit
immediately when the last service has been detected to be healthy.
@lukasjuhrich lukasjuhrich merged commit 5315e62 into develop Oct 7, 2023
7 checks passed
@lukasjuhrich lukasjuhrich deleted the issue/615 branch January 25, 2024 12:04
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.

Decrease DB calls in UserResource
1 participant