Closed benzkji closed 2 weeks ago
Version?
Sorry. Latest, 3.1.3.
@benzkji Do you have a chance of running a profile, or log the database access?
@benzkji For testing, I created a branch which caches permissions to avoid recalculation. This right now is just a guess. Would you like to give it a try?
Here's the branch: https://github.com/fsbraun/django-filer/tree/feat/permissions-cache or simply
pip install git+https://github.com/fsbraun/django-filer@feat/permissions-cache
Please let me know if this is an improvement. Might need some tests, too.
I can test this in August...thanks!!
1:1 comparison on my local machine: your branch is way faster. no more timeouts! thanks!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Superuser click scissor icon (move): Almost immediatly, the move screen appears (dropdown with target folder).
Normal user does the same: It takes ages. Mostly I end up with a "Gateway Timeout". Copying also takes ages.
Does this happen because of permission tests? There are about 100 or 200 folders, an maybe 2000 files in my db, nothing special.
Normal directory listings also take a long time (6 seconds for a list with 79 items).