Changeset - 301268606429
[Not reviewed]
beta
0 2 0
Marcin Kuzminski - 13 years ago 2012-12-01 15:17:36
marcin@python-works.com
fixes #666 move lockkey path location to cache_dir to ensure this path is always writable for rhodecode server
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
rhodecode/lib/celerylib/__init__.py
Show inline comments
 
@@ -93,7 +93,7 @@ def __get_lockkey(func, *fargs, **fkwarg
 
def locked_task(func):
 
    def __wrapper(func, *fargs, **fkwargs):
 
        lockkey = __get_lockkey(func, *fargs, **fkwargs)
 
        lockkey_path = config['here']
 
        lockkey_path = config['app_conf']['cache_dir']
 

	
 
        log.info('running task with lockkey %s' % lockkey)
 
        try:
rhodecode/lib/celerylib/tasks.py
Show inline comments
 
@@ -92,7 +92,7 @@ def get_commits_stats(repo_name, ts_min_
 
    DBS = get_session()
 
    lockkey = __get_lockkey('get_commits_stats', repo_name, ts_min_y,
 
                            ts_max_y)
 
    lockkey_path = config['here']
 
    lockkey_path = config['app_conf']['cache_dir']
 

	
 
    log.info('running task with lockkey %s' % lockkey)
 

	
0 comments (0 inline, 0 general)