This commit is contained in:
voidlizard 2024-11-14 12:52:40 +03:00
parent 6fb7842149
commit 63abb6d4cb
1 changed files with 1 additions and 1 deletions

View File

@ -706,7 +706,7 @@ downloadDispatcher brains env = flip runContT pure do
bm <- liftIO do
case _sockType p of
TCP -> AnyBurstMachine @IO <$> newBurstMachine 30 256 (Just 256) 0.20 0.10
UDP -> AnyBurstMachine @IO <$> newBurstMachine 5 256 (Just 100) 0.15 0.35
UDP -> AnyBurstMachine @IO <$> newBurstMachine 10 256 (Just 128) 0.20 0.35
void $ ContT $ bracket none $ const do
debug $ "Cancelling thread for" <+> pretty p