diff options
author | Christian Schneider | 2016-05-24 15:50:28 +0200 |
---|---|---|
committer | Christian Schneider | 2016-05-24 15:50:50 +0200 |
commit | 1daeb3976e0349d060c0ab938ec263196fab7614 (patch) | |
tree | 0b83fc8bc219071fdcb3894268d2dfb6a9215f80 /it_cache.class | |
parent | 64f760c1483ad1b34c79557faa5fc27c2d86103d (diff) | |
download | itools-1daeb3976e0349d060c0ab938ec263196fab7614.tar.gz itools-1daeb3976e0349d060c0ab938ec263196fab7614.tar.bz2 itools-1daeb3976e0349d060c0ab938ec263196fab7614.zip |
Allow devel to use distributed cache (memcache) with 'distributed_on_devel' flag
Diffstat (limited to 'it_cache.class')
-rw-r--r-- | it_cache.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_cache.class b/it_cache.class index d01df52..3fd154d 100644 --- a/it_cache.class +++ b/it_cache.class @@ -32,7 +32,7 @@ static function _defaults($p) 'hostsfile' => '/opt/ultra/etc/memcached.hosts', ); - if (!it::is_live()) + if (!it::is_live() && !$p['distributed_on_devel']) $p['distributed'] = false; # Always local cache on non-live systems return $p; |