mirror of https://github.com/voidlizard/hbs2
wip
This commit is contained in:
parent
8e61ded45c
commit
fd56384f50
|
@ -328,10 +328,10 @@ updateIndexPeriodially = do
|
||||||
void $ ContT $ withAsync $ forever do
|
void $ ContT $ withAsync $ forever do
|
||||||
rs <- atomically $ peekTQueue changes >> flushTQueue changes
|
rs <- atomically $ peekTQueue changes >> flushTQueue changes
|
||||||
addJob (withDashBoardEnv env updateIndex)
|
addJob (withDashBoardEnv env updateIndex)
|
||||||
pause @'Seconds 30
|
pause @'Seconds 60
|
||||||
|
|
||||||
lift do
|
lift do
|
||||||
polling (Polling 1 10) rlogs $ \r -> do
|
polling (Polling 1 30) rlogs $ \r -> do
|
||||||
|
|
||||||
debug $ yellow "POLL REFLOG" <+> pretty r
|
debug $ yellow "POLL REFLOG" <+> pretty r
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue