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
|
||||
todos <- runConduit $ readUsers .| filterIteration now .| sinkList
|
||||
putMany todos
|
||||
void $ queueJob JobSynchroniseAvsQueue
|
||||
where
|
||||
readUsers :: ConduitT () UserId _ ()
|
||||
readUsers = selectKeys [] []
|
||||
|
||||
Loading…
Reference in New Issue
Block a user