Closed xmonader closed 7 months ago
Most of our code is using http.Get depending on the default go's http client behavior which is no timeout which can leads to
http.Get
Create a custom client whenever needed and set the proper timeout based on the operation
Verified: now our code is using customized http client with timeout set to 10s in grid-client, monitoring-bot, tfrobot and relay cache warmer
Describe the bug
Most of our code is using
http.Get
depending on the default go's http client behavior which is no timeout which can leads toCreate a custom client whenever needed and set the proper timeout based on the operation
Screenshots