Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
andylibrian committed May 2, 2024
1 parent 9f4ba34 commit b374459
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions pkg/server/ingestion_worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,11 @@ func (iw *IngestionWorker) loopConsumeQueue(queue protoqueue.QueueSubscriber) {
}
}()

go func() {
defer iw.logger.Info("stopped consuming events from ingestion queue")
defer iw.logger.Info("stopped consuming events from ingestion queue")

for event := range eventChan {
iw.processEvent(event)
}
}()
for event := range eventChan {
iw.processEvent(event)
}
}

func (iw *IngestionWorker) processEvent(event *tarianpb.Event) {
Expand Down

0 comments on commit b374459

Please sign in to comment.