Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
noblogs-composer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Noblogs
noblogs-composer
Commits
ce5f0121
Commit
ce5f0121
authored
1 year ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
Use global memcache for usermeta object cache
Attempts to fix issue #114.
parent
3b489ed4
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker/wp-config.php
+8
-1
8 additions, 1 deletion
docker/wp-config.php
with
8 additions
and
1 deletion
docker/wp-config.php
+
8
−
1
View file @
ce5f0121
...
...
@@ -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'
],
);
/*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment