summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorskek2017-08-18 08:41:19 (GMT)
committerDamian Lee2017-08-18 08:41:52 (GMT)
commit86e390036fa801c656b148ac74ffcd19f784a6ac (patch)
treed7a31b684b0e309931ab72d8a189092b13988356
parentc7531d24597d08680dc19e0189934250d251792c (diff)
Issue #2886818 by skek: Wrong fragments in README.txt file
-rw-r--r--README.txt15
1 files changed, 5 insertions, 10 deletions
diff --git a/README.txt b/README.txt
index 98032d2..240358c 100644
--- a/README.txt
+++ b/README.txt
@@ -97,19 +97,14 @@ without enabling the Memcache lock implementation can cause worse performance.
Only change the following values if you're sure you know what you're doing,
which requires reading the memcachie.inc code.
-The value passed to lock_acquire, defaults to '15':
- $conf['memcache_stampede_semaphore'] = 15;
+The value passed to Drupal\Core\Lock\LockBackendInterface::wait(), defaults to 5:
+ $settings['memcache']['stampede_wait_time'] = 5;
-The value passed to lock_wait, defaults to 5:
- $conf['memcache_stampede_wait_time'] = 5;
-
-The maximum number of calls to lock_wait() due to stampede protection during a
-single request, defaults to 3:
- $conf['memcache_stampede_wait_limit'] = 3;
+The maximum number of calls to Drupal\Core\Lock\LockBackendInterface::wait() due
+to stampede protection during a single request, defaults to 3:
+ $settings['memcache']['stampede_wait_limit'] = 3;
When adjusting these variables, be aware that:
- - there is unlikely to be a good use case for setting wait_time higher
- than stampede_semaphore;
- wait_time * wait_limit is designed to default to a number less than
standard web server timeouts (i.e. 15 seconds vs. apache's default of
30 seconds).