Skip to content

Conversation

@dbrasseur-aneo
Copy link
Contributor

No description provided.

Logger = loggerFactory?.CreateLogger<T>();
chunkSubmitSize_ = chunkSubmitSize;
}
public readonly ChannelPool ChannelPool;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you need the channel pool to be public?



#pragma warning restore CS1591
public readonly TaskOptions TaskOptions;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need to store the task options? That is the role of core, isn't it?

Seconds = 300,
},
MaxRetries = 3,
Priority = 1,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think a Priority of 2 would be better by default (2 is neither the minimum, nor the maximum).

Comment on lines 947 to 953
partitions ??
(string.IsNullOrEmpty(defaultTaskOptions.PartitionId)
? Enumerable.Empty<string>()
: new List<string>
{
defaultTaskOptions.PartitionId,
}),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's core responsibility

return new SessionService(GrpcPool,
LoggerFactory,
taskOptions);
taskOptions ?? SessionService.GetDefaultTaskOptions(EngineType.Symphony),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Options are not impacted in other clients ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants