mirror of
https://github.com/samsonjs/grape_logging.git
synced 2026-04-27 14:57:40 +00:00
fix view time precise issue
This commit is contained in:
parent
fd8d2d457f
commit
ea6afd1d0f
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ module GrapeLogging
|
||||||
end
|
end
|
||||||
|
|
||||||
def view_runtime
|
def view_runtime
|
||||||
total_runtime - db_runtime
|
(total_runtime - db_runtime).round(2)
|
||||||
end
|
end
|
||||||
|
|
||||||
def db_runtime
|
def db_runtime
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue