Compare commits
No commits in common. "740cac21d37495a06e7fb6de8910aca7b0d92ed6" and "15563aa75d144808323dd4b9f41de1c204b24b0f" have entirely different histories.
740cac21d3
...
15563aa75d
1
main.go
1
main.go
@ -49,7 +49,6 @@ func handlerWrapper(f func(*http.Request) (interface{}, int)) func(http.Response
|
||||
w.WriteHeader(status)
|
||||
}
|
||||
go writeMetric(start, r.URL.Path, status, int(time.Since(start).Milliseconds()), r.Method)
|
||||
if r.URL == "/api/v1/finish" || r.URL == "/api/v1/put":
|
||||
log.Printf("%s %d %s", r.URL, status, time.Since(start))
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user