# HG changeset patch # User Daniel Dourvaris # Date 2019-12-27 13:15:23 # Node ID e6cf946d9755021ec04fced28ddf3695c2cebf0f # Parent 7447e8d186b8e980853d060b51e5052c8bec638d cached-commits: don't update cache on summary page. - Invalidation logic does that and we don't need to specially do this anymore diff --git a/rhodecode/apps/repository/views/repo_summary.py b/rhodecode/apps/repository/views/repo_summary.py --- a/rhodecode/apps/repository/views/repo_summary.py +++ b/rhodecode/apps/repository/views/repo_summary.py @@ -128,12 +128,7 @@ class RepoSummaryView(RepoAppView): # Prepare the clone URL self._prepare_and_set_clone_url(c) - # update every 5 min - if self.db_repo.last_commit_cache_update_diff > 60 * 5: - self.db_repo.update_commit_cache() - # If enabled, get statistics data - c.show_stats = bool(self.db_repo.enable_statistics) stats = Session().query(Statistics) \