fix view time precise issue

This commit is contained in:
yanpz 2020-04-04 20:49:13 +08:00
parent fd8d2d457f
commit ea6afd1d0f

View file

@ -115,7 +115,7 @@ module GrapeLogging
end
def view_runtime
total_runtime - db_runtime
(total_runtime - db_runtime).round(2)
end
def db_runtime