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

Invalidate workspace cache #5

Closed
markusweigelt opened this issue Mar 1, 2023 · 3 comments
Closed

Invalidate workspace cache #5

markusweigelt opened this issue Mar 1, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@markusweigelt
Copy link
Collaborator

When a new workspace is added, it is not displayed immediately in list of workspaces.

@markusweigelt markusweigelt added the bug Something isn't working label Mar 20, 2023
@SvenMarcus
Copy link
Collaborator

A simple idea for a custom caching mechanism would be to store the last time the workspaces were indexed and simply update whenever the last modified time of the workspace directory is more recent than that. Thoughts?

@markusweigelt
Copy link
Collaborator Author

Would be at least a temporary solution until a database or smarter cache invalidation (without rebuilding the whole cache) is available.

@markusweigelt
Copy link
Collaborator Author

Works for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants