-
Notifications
You must be signed in to change notification settings - Fork 47
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
lighten select for single circle #863
Conversation
92f4d04
to
e23d964
Compare
913178c
to
334c40c
Compare
334c40c
to
b8ecd30
Compare
indexes looks good, if the request is still too heavy, the next step will be to generate a 'cache' table that store the singleId of the Single Circle based on current sessionId or userId |
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
b8ecd30
to
50eddb3
Compare
Using redis to cache the result of getSingleCircle() for 15 minutes |
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't really comment on the sql query itself since I'm unfamiliar with the circle and how the data is stored but the caching part of this PR looks correct to me
/backport to stable23 |
/backport to stable22 |
Lighten slightly a frequently used request:
Old version:
New version: