-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Make chunk cache ttl configurable #23455
Comments
@fkammer if you'd like to have a try providing a proper fix, you can use |
@PVince81 I'd be glad too. What do you think about |
'cache_folder_gc_ttl` maybe. Make sure that config.sample.php is adjusted accordingly and mentions the proper unit. |
This is done in 9.1 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Steps to reproduce
Expected behaviour
Actual behaviour
Problem: The upload takes forever as the client is not able to upload all chunks in 24 hours.
Fix
You can fix that behaviour by increasing the default
ttl
in https://github.com/owncloud/core/blob/master/lib/private/cache/file.php#L114 to a greater value.It would be nice if this value could be configurable via the config file. As I have more than enough disc space left it would be no problem to increase it to multiple days or a week (I hardcoded it now).
Server configuration
Operating system:
Debian 8.3 amd64
Web server:
Server version: Apache/2.4.10 (Debian)
Server built: Nov 28 2015 14:05:48
Database:
mysql Ver 14.14 Distrib 5.5.47
PHP version:
PHP 5.6.17-0+deb8u1 (cli) (built: Jan 13 2016 09:10:12)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
ownCloud version: (see ownCloud admin page)
ownCloud 9.0.0 (stable)
Updated from an older ownCloud or fresh install:
Updated from multiple older ownCloud versions
Where did you install ownCloud from:
Linux distribution packages (from Open Build Service)
Signing status (ownCloud 9.0 and above):
No errors have been found.
List of activated apps:
The content of config/config.php:
Are you using external storage, if yes which one: local/smb/sftp/...
no
Are you using encryption: yes/no
no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
no
Client configuration
Browser:
ownCloud Client – Version 2.1.1 (build 3107)
Operating system:
OS X El Capitan (10.11.3)
The text was updated successfully, but these errors were encountered: