From 48ef25aa8ffbbd96c1578ae85b76f090d9042595 Mon Sep 17 00:00:00 2001 From: Steffen Jost Date: Thu, 7 Dec 2023 16:58:04 +0100 Subject: [PATCH] fix(avs): background synch was only triggerd by manual synchs --- src/Jobs/Handler/SynchroniseAvs.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Jobs/Handler/SynchroniseAvs.hs b/src/Jobs/Handler/SynchroniseAvs.hs index 408758885..0b393f0e2 100644 --- a/src/Jobs/Handler/SynchroniseAvs.hs +++ b/src/Jobs/Handler/SynchroniseAvs.hs @@ -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 [] []