mirror of https://github.com/voidlizard/hbs2
fix
This commit is contained in:
parent
44d6f72526
commit
3421a14c80
|
@ -234,7 +234,6 @@ runBurstMachine BurstMachine{..} = do
|
||||||
|
|
||||||
atomically do
|
atomically do
|
||||||
e <- headDef bu0 . Map.elems <$> readTVar _rates
|
e <- headDef bu0 . Map.elems <$> readTVar _rates
|
||||||
writeTVar _rates mempty
|
|
||||||
nrates <- readTVar _rates <&> take 100 . Map.toList
|
nrates <- readTVar _rates <&> take 100 . Map.toList
|
||||||
writeTVar _rates (Map.fromList nrates)
|
writeTVar _rates (Map.fromList nrates)
|
||||||
modifyTVar _buMaxReal (max e)
|
modifyTVar _buMaxReal (max e)
|
||||||
|
|
Loading…
Reference in New Issue