Skip to content

Commit

Permalink
Merge pull request #12 from talex5/fix-gettimeofday
Browse files Browse the repository at this point in the history
Fix gettimeofday parameter not used in favor of Unix.gettimeofday
  • Loading branch information
talex5 authored Nov 20, 2017
2 parents 8e953b1 + 1543407 commit 85c3b41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prometheus.ml
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ module Summary = struct
let start = gettimeofday () in
Lwt.finalize fn
(fun () ->
let finish = Unix.gettimeofday () in
let finish = gettimeofday () in
observe t (finish -. start);
Lwt.return_unit
)
Expand Down

0 comments on commit 85c3b41

Please sign in to comment.