dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

commit c9dd02ebddaa98279a21ba714625456fbc31e54f
parent 710e26e0cdde0fc4b8075be090b4f13ddc93e418
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Tue, 31 Jan 2023 01:31:04 -0800

change default timeout

Diffstat:
Mcmd/dkfupload/main.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/dkfupload/main.go b/cmd/dkfupload/main.go @@ -54,7 +54,7 @@ func main() { nbThreadsDefaultValue := 20 chunkSizeUsage := "chunk size" chunkSizeDefaultValue := int64(2 << 20) // 2MB - flag.DurationVar(&httpTimeout, "http-timeout", 5*time.Minute, "http timeout") + flag.DurationVar(&httpTimeout, "http-timeout", 2*time.Minute, "http timeout") flag.StringVar(&filedropUUID, "filedrop-uuid", "", filedropUUIDUsage) flag.StringVar(&filedropUUID, "u", "", filedropUUIDUsage) flag.StringVar(&fileName, "file", "", fileNameUsage)