fix(avs): background synch was only triggerd by manual synchs
This commit is contained in:
parent
0b9a1257db
commit
48ef25aa8f
@ -27,6 +27,7 @@ dispatchJobSynchroniseAvs numIterations epoch iteration pause
|
|||||||
now <- liftIO getCurrentTime
|
now <- liftIO getCurrentTime
|
||||||
todos <- runConduit $ readUsers .| filterIteration now .| sinkList
|
todos <- runConduit $ readUsers .| filterIteration now .| sinkList
|
||||||
putMany todos
|
putMany todos
|
||||||
|
void $ queueJob JobSynchroniseAvsQueue
|
||||||
where
|
where
|
||||||
readUsers :: ConduitT () UserId _ ()
|
readUsers :: ConduitT () UserId _ ()
|
||||||
readUsers = selectKeys [] []
|
readUsers = selectKeys [] []
|
||||||
|
|||||||
Reference in New Issue
Block a user