diff --git a/base b/base index 7f3697f97..613798678 160000 --- a/base +++ b/base @@ -1 +1 @@ -Subproject commit 7f3697f9717eea8ad11061fdee7a9a64ac050756 +Subproject commit 613798678993c5a133f512430f286960e6b24e80 diff --git a/frontend/document/credocument.lua b/frontend/document/credocument.lua index 282cc826d..a4e9b45d9 100644 --- a/frontend/document/credocument.lua +++ b/frontend/document/credocument.lua @@ -1714,7 +1714,7 @@ function CreDocument:setupCallCache() return time.now() end addStatMiss = function(name, starttime, not_cached) - local duration = time.since(starttime) + local duration = time.to_s(time.since(starttime)) if not self._call_cache_stats[name] then self._call_cache_stats[name] = {0, 0.0, 1, duration, not_cached} else @@ -1724,7 +1724,7 @@ function CreDocument:setupCallCache() end end addStatHit = function(name, starttime) - local duration = time.since(starttime) + local duration = time.to_s(time.since(starttime)) if not self._call_cache_stats[name] then self._call_cache_stats[name] = {1, duration, 0, 0.0} else