Mercurial > kallithea
diff rhodecode/lib/utils.py @ 1366:9c0f5d558789 beta
fixes #200, rewrote the whole caching mechanism to get rid of such problems. Now cached instances are attached
to db repository instance, and then fetched from cache. Also made all current test work.
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 07 Jun 2011 17:58:51 +0200 |
parents | 87ca17540603 |
children | 069ee86e85ad |
line wrap: on
line diff
--- a/rhodecode/lib/utils.py Mon Jun 06 17:30:34 2011 +0200 +++ b/rhodecode/lib/utils.py Tue Jun 07 17:58:51 2011 +0200 @@ -472,7 +472,7 @@ shutil.rmtree(index_location) try: - l = DaemonLock(file=jn(dn(dn(index_location)), 'make_index.lock')) + l = DaemonLock(file=jn(dn(index_location), 'make_index.lock')) WhooshIndexingDaemon(index_location=index_location, repo_location=repo_location)\ .run(full_index=full_index)