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

ocrdbrowser.workspace.list_all: disable path caching #46

Closed
wants to merge 1 commit into from

Conversation

bertsky
Copy link
Member

@bertsky bertsky commented Mar 15, 2024

No description provided.

@bertsky bertsky requested a review from SvenMarcus March 15, 2024 13:24
@SvenMarcus
Copy link
Collaborator

The path cache should in theory be updated whenever the given input directory has a newer write time than the cached version. If it's not doing that we should rather try to fix that instead of disabling it. On the Kitodo Server at UBBS it can take several seconds to load the workspaces page without the cache due to the thousands of folders in the Kitodo metadata directory.

@bertsky
Copy link
Member Author

bertsky commented Mar 27, 2024

Oh, I see. It did not work for us out of the box, so I thought maybe this feature is not entirely productive.

Will take a closer look (and perhaps open an issue). Thanks for the explanation!

@bertsky bertsky closed this Mar 27, 2024
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.

2 participants