From 5b27fc74ad4fc719fd6dcffefe776cdc06aadf9d Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Tue, 30 Nov 2021 23:41:28 -0500 Subject: [PATCH] Increase default number of concurrent workers from 5 to 20 --- info.rkt | 2 +- tt.rkt | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/info.rkt b/info.rkt index 361d8f1..26782f8 100644 --- a/info.rkt +++ b/info.rkt @@ -6,7 +6,7 @@ (define pkg-desc "twtxt client") (define version - "0.30.0") + "0.30.1") (define pkg-authors '("Siraaj Khandkar ")) (define deps diff --git a/tt.rkt b/tt.rkt index 16dffac..58419dc 100644 --- a/tt.rkt +++ b/tt.rkt @@ -1024,9 +1024,7 @@ (define (dispatch command) (match command [(or "d" "download") - ; Initially, 15 was fastest out of the tried: 1, 5, 10, 20. Then I - ; started noticing significant slowdowns. Reducing to 5 seems to help. - (let ([num-workers 5] + (let ([num-workers 20] ; 20 was fastest out of the tried: 1, 5, 10, 20, 25, 30. [timeout 10.0]) (command-line #:program "tt download" -- 2.20.1