Skip to content

Commit

Permalink
fix stovelistener for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
osoykan committed May 1, 2024
1 parent 1bdb6d1 commit 2a007c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ abstract class StoveListener(
suspend fun start() {
consumer.subscribe(listOf(topicDefinition.topic, topicDefinition.retryTopic, topicDefinition.deadLetterTopic))
consuming = GlobalScope.launch {
while (!this.isActive) {
while (isActive) {
consumer
.poll(Duration.ofMillis(100))
.forEach { message ->
Expand Down

0 comments on commit 2a007c2

Please sign in to comment.