Skip to content

Commit

Permalink
Fix stream dead cycle
Browse files Browse the repository at this point in the history
  • Loading branch information
uless authored and u-less committed Mar 8, 2021
1 parent b90f727 commit 240dcca
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ private async Task DistributedStart()
this.consumerRunners.TryAdd(key, runner);
await runner.Run();
}
break;
}
else if (expectMillisecondDelay > 0)
{
Expand Down
1 change: 1 addition & 0 deletions src/Stream/Vertex.Stream.Kafka/Consumer/ConsumerManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ private async Task DistributedStart()
this.consumerRunners.TryAdd(key, runner);
await runner.Run();
}
break;
}
else if (expectMillisecondDelay > 0)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ private async Task DistributedStart()
var runner = new ConsumerRunner(this.provider, queue);
this.consumerRunners.TryAdd(key, runner);
await runner.Run();
break;
}
break;
}
else if (expectMillisecondDelay > 0)
{
Expand Down

0 comments on commit 240dcca

Please sign in to comment.