Changeset - 2e9f2bd28143
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 15 years ago 2011-02-12 13:56:28
marcin@python-works.com
fixed add cache defaults missing data_dir
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
rhodecode/lib/utils.py
Show inline comments
 
@@ -506,6 +506,9 @@ def add_cache(settings):
 
                                                                60))
 
            region_settings.setdefault('lock_dir',
 
                                       cache_settings.get('lock_dir'))
 
            region_settings.setdefault('data_dir',
 
                                       cache_settings.get('data_dir'))
 

	
 
            if 'type' not in region_settings:
 
                region_settings['type'] = cache_settings.get('type',
 
                                                             'memory')
0 comments (0 inline, 0 general)