smaller delay in proxy streamer
authorJoey Hess <joeyh@joeyh.name>
Tue, 15 Oct 2024 18:38:20 +0000 (14:38 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 15 Oct 2024 18:45:19 +0000 (14:45 -0400)
commitf920d9078128f421f4102c7d581f5a82a2b250f6
tree5a7e636b8992443da833d8437e6d1ee794cc81e6
parent835283b86240ef4b68c44f4332ac1b644e08e49f
smaller delay in proxy streamer

A one second delay made it seem really choppy and slow when the special
remote was sending content fairly steadily but was bottlenecked on
running gpg on 10 mb chunks.

This does not appreciably increase CPU, although of course if the
special remote is very slow it will add up over time.

It would perhaps be better to use inotify, like tailVerify does.
Annex/Proxy.hs