cached-commits: don't update cache on summary page....
dan -
r4161:e6cf946d default
Not Reviewed
Show More
Add another comment
TODOs: 0 unresolved 0 Resolved
COMMENTS: 0 General 0 Inline
@@ -128,12 +128,7
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) \
Comments 0
You need to be logged in to leave comments. Login now