Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib/peek
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-02-24 15:12:57 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-02-24 15:12:57 +0300
commite40c68997d44209aed2baf3a8ec6be9ae99fb0b5 (patch)
treed5c7fd65b398a5857e27b9ae641b9a9435d971e5 /lib/peek
parent563c8efdee39233f80f4dc7b20b38d417b26f055 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/peek')
-rw-r--r--lib/peek/views/detailed_view.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/peek/views/detailed_view.rb b/lib/peek/views/detailed_view.rb
index 4cc2e85c7bb..1301c6aa6fd 100644
--- a/lib/peek/views/detailed_view.rb
+++ b/lib/peek/views/detailed_view.rb
@@ -23,7 +23,7 @@ module Peek
private
def duration
- detail_store.map { |entry| entry[:duration] }.sum * 1000
+ detail_store.sum { |entry| entry[:duration] } * 1000
end
def calls