Remove the timeout

This commit is contained in:
blank X 2022-03-02 15:53:07 +07:00
parent 5143666358
commit 10a734006b
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5
1 changed files with 1 additions and 4 deletions

View File

@ -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)