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"
|
"os/exec"
|
||||||
"sort"
|
"sort"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
|
||||||
|
|
||||||
"golang.org/x/sys/unix"
|
"golang.org/x/sys/unix"
|
||||||
)
|
)
|
||||||
|
@ -42,9 +41,7 @@ func main() {
|
||||||
fmt.Fprintln(os.Stderr, "Submission ID is empty")
|
fmt.Fprintln(os.Stderr, "Submission ID is empty")
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
client := &http.Client{
|
client := &http.Client{}
|
||||||
Timeout: time.Duration(10 * time.Minute),
|
|
||||||
}
|
|
||||||
err = LoadConfigAndData()
|
err = LoadConfigAndData()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Fprintf(os.Stderr, "Failed to load config and data: %s\n", err)
|
fmt.Fprintf(os.Stderr, "Failed to load config and data: %s\n", err)
|
||||||
|
|
Reference in New Issue