Skip to content

Commit

Permalink
fix(log): apply billed duration by 1ms
Browse files Browse the repository at this point in the history
  • Loading branch information
novemberde committed Dec 19, 2020
1 parent b25f269 commit 1fc4f2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provided/run/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,7 @@ func (mc *mockLambdaContext) LogEndRequest() {
"Billed Duration: %.f ms\t"+
"Memory Size: %s MB\t"+
"Max Memory Used: %d MB\t",
mc.RequestID, diffMs, math.Ceil(diffMs/100)*100, mc.MemSize, mc.MaxMem))
mc.RequestID, diffMs, math.Ceil(diffMs), mc.MemSize, mc.MaxMem))
}

type invokeResponse struct {
Expand Down

0 comments on commit 1fc4f2a

Please sign in to comment.