-
Notifications
You must be signed in to change notification settings - Fork 13
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
does not work with many files #27
Comments
What is the size / number of files in the user directory? I tried up to 500 GB and it worked, but it was on a SSD, maybe on a hard drive it would be too slow. There is no magical solution here as to know the size used we have to walk through all files to get their size… |
I ended up disabling the quota system for the users with a zero quota:
|
Thanks, I changed the method to fetch the size of files, maybe it works for you now? If not, I also implemented an option to use the whole disk as the users quota, just set |
This is due to this function :
public function quota(?stdClass $user = null): stdClass
...that takes ages to compute the number of byte used by the current user.
So much time that the WebDav Client "times out" with an error.
The text was updated successfully, but these errors were encountered: