mirror of https://github.com/voidlizard/hbs2
wip, polling function
This commit is contained in:
parent
39c0ca71cc
commit
5691e20f6e
|
@ -176,7 +176,7 @@ refChanWorker env brains = do
|
||||||
|
|
||||||
let listRefs = listPolledRefs @e brains "refchan" <&> fmap (over _2 ( (*60) . fromIntegral) )
|
let listRefs = listPolledRefs @e brains "refchan" <&> fmap (over _2 ( (*60) . fromIntegral) )
|
||||||
|
|
||||||
polling (Polling 2 5) listRefs $ \ref -> do
|
polling (Polling 5 5) listRefs $ \ref -> do
|
||||||
debug $ "POLLING REFCHAN" <+> pretty (AsBase58 ref)
|
debug $ "POLLING REFCHAN" <+> pretty (AsBase58 ref)
|
||||||
broadCastMessage (RefChanGetHead @e ref)
|
broadCastMessage (RefChanGetHead @e ref)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue