Increase default number of concurrent workers from 5 to 20 0.30.1
authorSiraaj Khandkar <siraaj@khandkar.net>
Wed, 1 Dec 2021 04:41:28 +0000 (23:41 -0500)
committerSiraaj Khandkar <siraaj@khandkar.net>
Wed, 1 Dec 2021 04:41:28 +0000 (23:41 -0500)
info.rkt
tt.rkt

index 361d8f1..26782f8 100644 (file)
--- 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 <siraaj@khandkar.net>"))
 (define deps
diff --git a/tt.rkt b/tt.rkt
index 16dffac..58419dc 100644 (file)
--- a/tt.rkt
+++ b/tt.rkt
 (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"
This page took 0.02169 seconds and 4 git commands to generate.