Remove the timeout

master
blank X 9 months ago
parent 5143666358
commit 10a734006b
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5
  1. 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)