mirror of
https://github.com/thegeeklab/drone-plugin-lib.git
synced 2024-11-24 23:40:39 +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