-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Minor documentation additions - Akka Streams RestartFlow and RestartSettings #6820
Conversation
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.
Some minor tweaks that were encountered today doing changes around Restart
@@ -162,7 +162,7 @@ public static class RestartFlow | |||
/// <para>This uses the same exponential backoff algorithm as <see cref="BackoffOptions"/>.</para> | |||
/// </summary> | |||
/// <param name="flowFactory">A factory for producing the <see cref="Flow"/>] to wrap.</param> | |||
/// <param name="settings"></param> | |||
/// <param name="settings"><see cref="RestartSettings" /> defining restart configuration</param> |
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.
Matching the documentation for the WithBackoff
method in this class
/// <summary> | ||
/// Creates a new instance of <see cref="RestartSettings"/> class | ||
/// </summary> | ||
/// <param name="minBackoff">Minimum (initial) duration until the child actor will started again, if it is terminated</param> | ||
/// <param name="maxBackoff">The exponential back-off is capped to this duration</param> | ||
/// <param name="randomFactor">After calculation of the exponential back-off an additional random delay based on this factor is added, e.g. `0.2` adds up to `20%` delay. In order to skip this additional delay pass in `0`.</param> |
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.
Addition of documentation matching the extension methods in the class
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
Changes
Addition of method documentation that were found missing when working with restart logic.
Checklist
For significant changes, please ensure that the following have been completed (delete if not relevant):