Skip to content

Commit

Permalink
Merge pull request #11848 from nextcloud/docs-admin-remove-filelockin…
Browse files Browse the repository at this point in the history
…g-toggle

fix: remove mention of legacy `filelocking.enabled` toggle
  • Loading branch information
joshtrichards authored May 24, 2024
2 parents 5f0a7ba + 094ddb7 commit 55efb80
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ the same document. Multiple users can open and edit a file at the same time and
Transactional File locking does not prevent this. Rather, it prevents
simultaneous file saving.

File locking is enabled by default, using the database locking backend. This
places a significant load on your database. Using ``memcache.locking`` relieves
Transactional File locking will use the database locking backend by default. This
places a significant load on your database. Setting ``memcache.locking`` relieves
the database load and improves performance. Admins of Nextcloud servers with
heavy workloads should install a memcache. (See
:doc:`../configuration_server/caching_configuration`.)
Expand All @@ -32,7 +32,6 @@ To use a memcache with Transactional File Locking, you must install the Redis
server and corresponding PHP module. After installing Redis you must enter a
configuration in your ``config.php`` file like this example::

'filelocking.enabled' => true,
'memcache.locking' => '\OC\Memcache\Redis',
'redis' => array(
'host' => 'localhost',
Expand All @@ -48,7 +47,6 @@ If you want to configure Redis to listen on an Unix socket (which is
recommended if Redis is running on the same system as Nextcloud) use this example
``config.php`` configuration::

'filelocking.enabled' => true,
'memcache.locking' => '\OC\Memcache\Redis',
'redis' => array(
'host' => '/var/run/redis/redis.sock',
Expand Down

0 comments on commit 55efb80

Please sign in to comment.