cached-commits: don't update cache on summary page.
- Invalidation logic does that and we don't need to specially do this anymore
This commit is contained in:
parent
f942ce2001
commit
cb48113259
1 changed files with 0 additions and 5 deletions
|
|
@ -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) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue