wip, tryin to fetch refchan head

This commit is contained in:
Dmitry Zuikov 2023-07-15 10:53:04 +03:00
parent c2649a6ad4
commit 51ac42f5c0
2 changed files with 2 additions and 2 deletions

View File

@ -782,7 +782,7 @@ runBasicBrains cfg brains = do
] )
void $ async $ do
pause @'Seconds 5
-- pause @'Seconds 5
forM_ polls $ \(t,mi,x) -> do
trace $ "BRAINS: poll" <+> pretty t <+> pretty (AsBase58 x) <+> pretty mi
updateOP brains $ do

View File

@ -173,7 +173,7 @@ refChanWorker env brains = do
where
refChanHeadPoll = do
pause @'Seconds 10
pause @'Seconds 2
now0 <- getTimeCoarse
refs0 <- listPolledRefs @e brains "refchan" <&> fmap (set _2 now0) <&> HashMap.fromList