this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

util: TestingHTTPClient (short timeout)

+8
+8
util/http.go
··· 55 55 client.Timeout = 20 * time.Second 56 56 return client 57 57 } 58 + 59 + // For use in local integration tests. Short timeouts, no retries, etc 60 + func TestingHTTPClient() *http.Client { 61 + 62 + client := http.DefaultClient 63 + client.Timeout = 200 * time.Millisecond 64 + return client 65 + }