You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2018/03/12 17:28:20 UTC
[GitHub] rob05c commented on issue #1923: Health and Stats delay different than Traffic Monitor Java
rob05c commented on issue #1923: Health and Stats delay different than Traffic Monitor Java
URL: https://github.com/apache/incubator-trafficcontrol/issues/1923#issuecomment-372394345
The Fetcher isn't actually reading the body, it's passing the `io.Reader` to the Handler. The Go runtime may choose not to read it from the socket, until it's actually read from the `io.Reader` in the Handler.
The reqTime needs to be set right after we actually read the bytes, after this line: https://github.com/apache/incubator-trafficcontrol/blob/b3a20df3d1e6405ff530ab20b5698e700ee6da46/traffic_monitor/cache/cache.go#L308
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services