mirror of https://github.com/voidlizard/hbs2
this
This commit is contained in:
parent
9a24890bbc
commit
b6bd4cf441
|
@ -746,7 +746,7 @@ downloadDispatcher brains env = flip runContT pure do
|
||||||
what <- atomically do
|
what <- atomically do
|
||||||
e <- readTVar _errors
|
e <- readTVar _errors
|
||||||
|
|
||||||
if e > 10 then
|
if e > 5 then
|
||||||
pure Nothing
|
pure Nothing
|
||||||
else do
|
else do
|
||||||
TSem.waitTSem sem
|
TSem.waitTSem sem
|
||||||
|
@ -780,7 +780,7 @@ downloadDispatcher brains env = flip runContT pure do
|
||||||
if erno > 50 then do
|
if erno > 50 then do
|
||||||
pause @'Seconds 60
|
pause @'Seconds 60
|
||||||
else do
|
else do
|
||||||
pause @'Seconds 1.00
|
pause @'Seconds 0.5
|
||||||
go PChoose
|
go PChoose
|
||||||
|
|
||||||
PInit hx dcb -> do
|
PInit hx dcb -> do
|
||||||
|
|
Loading…
Reference in New Issue