Hello, I have now successfully integrated a REDIS server in NC.
I do not understand the following entry in the config.php:
‘timeout’ => 0.0,
Make users write using the following value:
‘timeout’ => 1.5,
Other users leave this entry altogether.
What exactly does that mean? What does this value stand for? And which value makes sense?
I already knew the documentation. Thank you. Nevertheless, I do not understand the value 0.0. If I interpret correctly, the client connection will be disconnected immediately. Or does 0.0 never mean? And what value is automatically set if you do not have a timeout for redis in the config?
I’ve installed Redis because of issues with shared Office files that have been open for several hours by users in Office via WebDAV. This had the effect that the shares were eventually deleted automatically. Very uncool.
I hope with Redis to get this problem under control.
If you read the Redis documentation, you have seen this:
By default recent versions of Redis don’t close the connection with the client if the
client is idle for many seconds: the connection will remain open forever. However if you don’t like this behavior, you can configure a timeout, so that if the client is
idle for more than the specified number of seconds, the client connection will be closed.
So, if you don’t set the parameter in the Nextcloud configuration file I would expect that a disconnection will not be forced.
Nextcloud can be used from personal environments up to enterprise wide systems with several thousands of users. Therefore a single “one fits all” setting doesn’t exist and the adminstrator need to decide if it makes sense to use the default setting or not.