Show More
@@ -93,7 +93,7 b' def __get_lockkey(func, *fargs, **fkwarg' | |||||
93 | def locked_task(func): |
|
93 | def locked_task(func): | |
94 | def __wrapper(func, *fargs, **fkwargs): |
|
94 | def __wrapper(func, *fargs, **fkwargs): | |
95 | lockkey = __get_lockkey(func, *fargs, **fkwargs) |
|
95 | lockkey = __get_lockkey(func, *fargs, **fkwargs) | |
96 |
lockkey_path = config['her |
|
96 | lockkey_path = config['app_conf']['cache_dir'] | |
97 |
|
97 | |||
98 | log.info('running task with lockkey %s' % lockkey) |
|
98 | log.info('running task with lockkey %s' % lockkey) | |
99 | try: |
|
99 | try: |
@@ -92,7 +92,7 b' def get_commits_stats(repo_name, ts_min_' | |||||
92 | DBS = get_session() |
|
92 | DBS = get_session() | |
93 | lockkey = __get_lockkey('get_commits_stats', repo_name, ts_min_y, |
|
93 | lockkey = __get_lockkey('get_commits_stats', repo_name, ts_min_y, | |
94 | ts_max_y) |
|
94 | ts_max_y) | |
95 |
lockkey_path = config['her |
|
95 | lockkey_path = config['app_conf']['cache_dir'] | |
96 |
|
96 | |||
97 | log.info('running task with lockkey %s' % lockkey) |
|
97 | log.info('running task with lockkey %s' % lockkey) | |
98 |
|
98 |
General Comments 0
You need to be logged in to leave comments.
Login now