Skip to content

Commit

Permalink
missing to list
Browse files Browse the repository at this point in the history
  • Loading branch information
Wojciech Turowicz committed Sep 1, 2023
1 parent 25a1616 commit f663b1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Orleans.Streaming.Grains/Streams/GrainsQueueMapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ public GrainsQueueMapper(int countEach = 3)
{
var messageTypes = AppDomain.CurrentDomain.GetAssemblies()
.SelectMany(x => x.GetTypes())
.Where(x => x.GetCustomAttributes(typeof(ImplicitStreamSubscriptionAttribute), true)?.Count() > 0);
.Where(x => x.GetCustomAttributes(typeof(ImplicitStreamSubscriptionAttribute), true)?.Count() > 0)
.ToList();

_pinnedQueues = new Dictionary<StreamId, QueueId>();
_queues = messageTypes.SelectMany(x => Enumerable.Range(0, countEach)
Expand Down

0 comments on commit f663b1f

Please sign in to comment.