Commit 6c6cdd23ff8241fd2f8c52143f102c9b914f5233

Authored by Dmitriy Zaporozhets
1 parent 1bde9277

Prevent timeout for Commits#stats page for huge repos

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
app/views/projects/repositories/stats.html.haml
... ... @@ -5,7 +5,7 @@
5 5 %hr
6 6 %p
7 7 %b Total commits:
8   - %span= @stats.commits_count
  8 + %span= @repository.commit_count
9 9 %p
10 10 %b Total files in #{@repository.root_ref}:
11 11 %span= @stats.files_count
... ...