mirror of https://github.com/voidlizard/hbs2
removed useless code
This commit is contained in:
parent
13082738aa
commit
772f529c4c
|
@ -726,8 +726,7 @@ downloadDispatcher brains env = flip runContT pure do
|
||||||
Nothing -> 1.0
|
Nothing -> 1.0
|
||||||
Just hp -> case HM.lookup hp sizeCache of
|
Just hp -> case HM.lookup hp sizeCache of
|
||||||
Just (Just _) -> 0.5
|
Just (Just _) -> 0.5
|
||||||
Just Nothing -> 1.5
|
_ -> 1.0
|
||||||
Nothing -> 1.0
|
|
||||||
|
|
||||||
modifyTVar r (HPSQ.insert h eps dcb)
|
modifyTVar r (HPSQ.insert h eps dcb)
|
||||||
s <- readTVar r <&> HPSQ.size
|
s <- readTVar r <&> HPSQ.size
|
||||||
|
|
Loading…
Reference in New Issue