mirror of
https://github.com/thegeeklab/wp-plugin-go.git
synced 2024-11-22 00:20:38 +00:00
Remove timeout on client otherwise large files won't download
This commit is contained in:
parent
0efd1b3902
commit
c4d3e25a63
@ -47,7 +47,6 @@ func networkFlags() []cli.Flag {
|
||||
func NetworkFromContext(ctx *cli.Context) Network {
|
||||
// Create the client
|
||||
client := &http.Client{
|
||||
Timeout: 10 * time.Second,
|
||||
Transport: &http.Transport{
|
||||
Proxy: http.ProxyFromEnvironment,
|
||||
DialContext: (&net.Dialer{
|
||||
|
Loading…
Reference in New Issue
Block a user