diff options
author | Christian Schneider | 2009-03-12 23:58:22 +0000 |
---|---|---|
committer | Christian Schneider | 2009-03-12 23:58:22 +0000 |
commit | f26e3204d00988f36d14e4264e637ce85adaf96c (patch) | |
tree | a0c20bfe052257b7a9907a854b4cadaeaac4e551 /it_cache.class | |
parent | df7acdd92e7d47ffffbbb00e551adefff5f514ff (diff) | |
download | itools-f26e3204d00988f36d14e4264e637ce85adaf96c.tar.gz itools-f26e3204d00988f36d14e4264e637ce85adaf96c.tar.bz2 itools-f26e3204d00988f36d14e4264e637ce85adaf96c.zip |
Always local cache on non-live systems
Diffstat (limited to 'it_cache.class')
-rw-r--r-- | it_cache.class | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/it_cache.class b/it_cache.class index 0e7ff0a..718ac3b 100644 --- a/it_cache.class +++ b/it_cache.class @@ -32,6 +32,9 @@ function _defaults($p) 'hostsfile' => '/opt/ultra/etc/memcached.hosts', ); + if (!it::is_live()) + $p['distributed'] = false; # Always local cache on non-live systems + return $p; } |