diff options
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; } |