Skip to content

Commit de0d162

Browse files
authored
bug fixed: the subscription created by a query can be never acked (#1409)
1 parent 81afc14 commit de0d162

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hstream-processing/src/HStream/Processing/Processor.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ runTask statsHolder SourceConnectorWithoutCkp {..} sinkConnector taskBuilder@Tas
221221
liftIO $ query_stat_add_total_execute_errors statsHolder (textToCBytes qid) 1
222222
]
223223
liftIO $ query_stat_add_total_output_records statsHolder (textToCBytes qid) 1
224+
liftIO $ RIO.putMVar mvar ()
224225

225226
runImmTask ::
226227
(Ord t, Semigroup t, Aeson.FromJSON t, Aeson.ToJSON t, Typeable t, ChangeLogger h1, Snapshotter h2) =>

0 commit comments

Comments
 (0)