Change memcached default location to 127.0.0.1 from localhost
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 28 Sep 2010 16:40:02 +0000 (16:40 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 28 Sep 2010 16:40:02 +0000 (16:40 +0000)
Debian Squeeze currently doesn't fare well with memcached servers pointing to
localhost and needs an explicit 127.0.0.1, whereas Ubuntu Lucid is happy with
either. Changing the default here means one less possible gotcha in the out
of the box install & configure experience for Debian Squeeze folk.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@18079 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/examples/opensrf.xml.example

index 8f8184c..74c28a1 100644 (file)
@@ -326,14 +326,14 @@ vim:et:ts=4:sw=4:
             <!-- memcache servers -->
             <global>
                 <servers>
-                    <server>localhost:11211</server>
+                    <server>127.0.0.1:11211</server>
                 </servers>
                 <max_cache_time>86400</max_cache_time>
             </global>
             <anon>
                 <!-- anonymous cache.  currently, primarily used for web session caching -->
                 <servers>
-                    <server>localhost:11211</server>
+                    <server>127.0.0.1:11211</server>
                 </servers>
                 <max_cache_time>1800</max_cache_time>
                 <!-- maximum size of a single cache entry / default = 100k-->