##// END OF EJS Templates
cached-commits: don't update cache on summary page....
dan -
r4161:e6cf946d default
parent child Browse files
Show More
@@ -128,12 +128,7 b' class RepoSummaryView(RepoAppView):'
128 # Prepare the clone URL
128 # Prepare the clone URL
129 self._prepare_and_set_clone_url(c)
129 self._prepare_and_set_clone_url(c)
130
130
131 # update every 5 min
132 if self.db_repo.last_commit_cache_update_diff > 60 * 5:
133 self.db_repo.update_commit_cache()
134
135 # If enabled, get statistics data
131 # If enabled, get statistics data
136
137 c.show_stats = bool(self.db_repo.enable_statistics)
132 c.show_stats = bool(self.db_repo.enable_statistics)
138
133
139 stats = Session().query(Statistics) \
134 stats = Session().query(Statistics) \
General Comments 0
You need to be logged in to leave comments. Login now