Skip to content
Snippets Groups Projects
Commit ce5f0121 authored by ale's avatar ale
Browse files

Use global memcache for usermeta object cache

Attempts to fix issue #114.
parent 3b489ed4
No related branches found
No related tags found
No related merge requests found
......@@ -168,9 +168,16 @@ define('NOSPAM_API_URL', 'http://nospam.investici.org:9001');
* Memcache servers for Wordpress object caching.
*/
$memcached_servers = array(
// Cache most things locally.
'default' => array(
'127.0.0.1:7108'
)
),
// User metadata (including session ticket info) needs to be global.
// See issue #114.
'userlogins' => $noblogs_config['memcached'],
'usermeta' => $noblogs_config['memcached'],
'user_meta' => $noblogs_config['memcached'],
);
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment