Skip to content

Commit d49d4b5

Browse files
feat: Use millisecond billing granularity (#7)
1 parent 68b32d6 commit d49d4b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/aws-lambda-rie/handlers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func printEndReports(invokeId string, initDuration string, memorySize string, in
5454
"Billed Duration: %.f ms\t"+
5555
"Memory Size: %s MB\t"+
5656
"Max Memory Used: %s MB\t\n",
57-
invokeId, invokeDuration, math.Ceil(invokeDuration/100)*100, memorySize, memorySize)
57+
invokeId, invokeDuration, math.Ceil(invokeDuration), memorySize, memorySize)
5858
}
5959

6060
func InvokeHandler(w http.ResponseWriter, r *http.Request, sandbox Sandbox) {

0 commit comments

Comments
 (0)