This commit is contained in:
Joey Hess 2019-06-17 15:26:46 -04:00
parent 04cc470201
commit c31f4c0e66
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -0,0 +1,14 @@
Finally got checksum verification running in a separate job pool from
downloads, to better keep bandwidth saturated.
I had to resort to what felt like a bit of a hack, but I can't see a better
way to do it. Also, I got stuck for far too long on a STM deadlock bug.
Interestingly, this means that -J1 now has a purpose, it's not the same as
no -J option. Instead, it lets one download and also one concurrent
checksum of the previous download run at the same time.
It would be nice if -J1 could be the default.. One problem with that is
that it needs a unicode locale to work due to a limitation of
concurrent-output. Changing the concurrency method based on the locale does
not seem like a good idea.