Closed visola closed 4 years ago
During high volume of requests scenario, I've noticed that creating a new HTTP Client for each request was causing the following error:
dial tcp: lookup localhost: no such host
Reusing the http.Client seems to fix this issue.
During high volume of requests scenario, I've noticed that creating a new HTTP Client for each request was causing the following error:
Reusing the http.Client seems to fix this issue.