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:
[email protected]


With regards,
Apache Git Services

Reply via email to