-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More options formatting, and related cleanup #3947
Conversation
this.options = options; | ||
} | ||
|
||
protected List<string> FormatStatisticsOptions() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
naming: FormatMessagingOptions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM except for the naming comment. can merge after you fixed the naming
Added formatters for grain directory options, grain placement options, schedualling options, thread pool options, type managment options, versioning options and silo options. Fixed formatting of messaging options. Fixed some options defaults.
Cleaned up registeration order, it seems options are logged in order of registeration (by default). Not an expected or necessary behavior.
5962494
to
3548522
Compare
@@ -25,4 +27,28 @@ public class SiloOptions | |||
public bool FastKillOnCancelKeyPress { get; set; } = DEFAULT_FAST_KILL_ON_CANCEL; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure when this was added, but I wouldn't put this in Orleans' specific SiloOptions. We didn't copy everything related to IHost but the IHostLifetime already has things such as these when you use the ConsoleHostLifetime way of hosting... Not suggesting you copy everything related to that (or maybe you do want to), but at least keep it isolated, since it will go away when using Microsoft.Extensions.Hosting
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added to #3957
Added formatters for grain directory options, grain placement options, schedualling options, thread pool options, type managment options, versioning options and silo options.
Fixed formatting of messaging options.
Fixed some options defaults.