From 5db0622d6528d406fd390003d7fa70e07f7ae98c Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Fri, 16 Dec 2022 23:58:24 +1300 Subject: [PATCH] Provide example configuration on using memcache. --- config/example-config.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/config/example-config.php b/config/example-config.php index b5e991d9..b33655ae 100644 --- a/config/example-config.php +++ b/config/example-config.php @@ -60,6 +60,19 @@ $c->pg_connect[] = "dbname=davical user=davical_app"; */ // $c->skip_bad_event_on_import = true; +/** +* Use memcache to cache various things. This is an array, allowing you to +* specify multiple memcache servers. Each each item in array is the server, +* port and priority. The priority is optional. For example, you can use the +* following to add two differnet servers, the second having a priority of 10. +* +* $c->memcache_servers[] = '127.0.0.1,11211'; +* $c->memcache_servers[] = '127.0.0.2,11211,10'; +* +* Default: none (memcache is not used) +*/ +// $c->memcache_servers[] = '127.0.0.1,11211'; + /*************************************************************************** * *