The README.txt shows this as an example:

$conf['cache_backends'][] = 'sites/all/modules/memcache/memcache.inc';
$conf['cache_default_class'] = 'MemCacheDrupal';
// The 'cache_form' bin must be assigned no non-volatile storage.
$conf['cache_class_cache_form'] = 'DrupalDatabaseCache';
$conf = array(
  'cache_default_class' = 'MemCacheDrupal',
  'memcache_servers' => array('localhost:11211' => 'default',
                              'localhost:11212' => 'default',
                              '123.45.67.890:11211' => 'default',
                              '123.45.67.891:11211' => 'cluster2',
                              '123.45.67.892:11211' => 'cluster2'),

  'memcache_bins' => array('cache' => 'default',
                           'cache_filter' => 'cluster2',
                           'cache_menu' => 'cluster2'),
);

this has first a syntax error and then also it is wrong, because the $conf variable is overwritten, the $conf variable contains this:

Array
(
    [cache_default_class] => MemCacheDrupal
    [memcache_servers] => Array
        (
            [localhost:11211] => default
            [localhost:11212] => default
            [123.45.67.890:11211] => default
            [123.45.67.891:11211] => cluster2
            [123.45.67.892:11211] => cluster2
        )

    [memcache_bins] => Array
        (
            [cache] => default
            [cache_filter] => cluster2
            [cache_menu] => cluster2
        )

)

so the most important things are missing.

CommentFileSizeAuthor
#1 fixxing_readme-1459408-1.patch4.21 KBSchnitzel
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Schnitzel’s picture

Status: Active » Needs review
FileSize
4.21 KB

the attached patch fixxes this, also it adds an explanation how to use the locking features.

Jeremy’s picture

Status: Needs review » Fixed

README.txt has been hugely rewritten and improved over the past year.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.