Remove the timeout
This commit is contained in:
parent
5143666358
commit
10a734006b
5
main.go
5
main.go
|
@ -11,7 +11,6 @@ import (
|
|||
"os/exec"
|
||||
"sort"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"golang.org/x/sys/unix"
|
||||
)
|
||||
|
@ -42,9 +41,7 @@ func main() {
|
|||
fmt.Fprintln(os.Stderr, "Submission ID is empty")
|
||||
os.Exit(1)
|
||||
}
|
||||
client := &http.Client{
|
||||
Timeout: time.Duration(10 * time.Minute),
|
||||
}
|
||||
client := &http.Client{}
|
||||
err = LoadConfigAndData()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Failed to load config and data: %s\n", err)
|
||||
|
|
Reference in New Issue