diff --git a/README.txt b/README.txt index 599f33d..5fabfd0 100644 --- a/README.txt +++ b/README.txt @@ -141,6 +141,8 @@ drupal_page_footer()/module_implements_write_cache(). Allow to disable the protection for those cases. $conf['memcache_stampede_protection_ignore'] = array( + // Ignore stampede protection for the entire 'cache_example' bin. + 'cache_example', // Ignore some CIDs of cache_bootstrap. 'cache_bootstrap' => array( 'module_implements', diff --git a/memcache.inc b/memcache.inc index c5e3c34..888fbe2 100644 --- a/memcache.inc +++ b/memcache.inc @@ -500,12 +500,12 @@ class MemCacheDrupal implements DrupalCacheInterface { 'cache_bootstrap' => array( // The module_implements cache is written after finishing the request. 'module_implements', - // Variables have their own protection. + // Variables have their own lock protection. 'variables' ), // Ignore all CIDs starting with 'i18n:' 'cache' => array( - // I18n is a class destructor to write the cache. + // I18n uses a class destructor to write the cache. 'i18n:string:*', ), ));