dkforest

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

commit 393dcf4279b75a2ed04856cc9609aa8f5eef1358
parent 44fae27244a2442854423c5af2d83b939331ca70
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Mon, 30 Jan 2023 23:22:33 -0800

improve logs

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

diff --git a/cmd/dkfupload/main.go b/cmd/dkfupload/main.go @@ -174,6 +174,7 @@ func work(i int, wg *sync.WaitGroup, chunksCh chan int64, isLocal, dry bool, max resp, err := client.Do(req) if err != nil { if os.IsTimeout(err) { + log.Printf("Thread #%03d gets a new client\n", i) client = doGetClient(isLocal, httpTimeout) } return err