Mercurial > kallithea
diff rhodecode/model/scm.py @ 3682:cf65b2c1b69d beta
invalidation: some documentation and refactoring, second round
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Wed, 27 Mar 2013 19:55:50 +0100 |
parents | 10b4e34841a4 |
children | 02e1e270bf93 |
line wrap: on
line diff
--- a/rhodecode/model/scm.py Thu Apr 04 15:55:53 2013 +0200 +++ b/rhodecode/model/scm.py Wed Mar 27 19:55:50 2013 +0100 @@ -297,10 +297,9 @@ def mark_for_invalidation(self, repo_name): """ - Puts cache invalidation task into db for - further global cache invalidation + Mark caches of this repo invalid in the database. - :param repo_name: this repo that should invalidation take place + :param repo_name: the repo for which caches should be marked invalid """ invalidated_keys = CacheInvalidation.set_invalidate(repo_name=repo_name) repo = Repository.get_by_repo_name(repo_name)