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

Always rebuild the project list when asking for the list #121

Merged
merged 1 commit into from
Nov 6, 2023

Conversation

justvanrossum
Copy link
Collaborator

We used to cache the project list for as long as the user is logged in. If the user is then added to a project, this project will still not appear on the landing page, even after reload.

Yet, it is important to cache the project list so that the projectAvalailable method can be fast.

Let's always rebuild the project list if we're asking for the full list, but not it we're checking whether a certain project is available.

This fixes #34.

@justvanrossum justvanrossum merged commit 5f02cad into main Nov 6, 2023
5 checks passed
@justvanrossum justvanrossum deleted the issue34 branch November 6, 2023 09:23
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.

Project list gets cached, never updated
1 participant