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

PDF Preview generation on PAAS is not refreshing #73

Closed
alexz707 opened this issue Apr 26, 2024 · 0 comments
Closed

PDF Preview generation on PAAS is not refreshing #73

alexz707 opened this issue Apr 26, 2024 · 0 comments
Assignees
Labels

Comments

@alexz707
Copy link
Contributor

On paas the preview pdf generation is not working correctly.
After the file is generated the ui is not refreshed because the files_exists method is using the nfs cache.

To circumvent this problem the first approach is to use opendir to invalidate the cache.
referenced here

Flysystem (#72) will not solve this problem because it uses is_file in the underlying local fs adapter.
This method has the same problem as file_exists.

We will try this on monday on paas.

@alexz707 alexz707 self-assigned this Apr 26, 2024
alexz707 added a commit that referenced this issue Apr 30, 2024
alexz707 added a commit that referenced this issue Apr 30, 2024
kingjia90 pushed a commit that referenced this issue Apr 30, 2024
(cherry picked from commit 436ab61)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant