-
Notifications
You must be signed in to change notification settings - Fork 122
RSDK-10833 Added slow shutdown logs and TestSlowShutdownTicker test #5057
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
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.
Pretty much LGTM assuming tests pass. Just a couple nits.
Co-authored-by: Benjamin Rewis <32186188+benjirewis@users.noreply.github.com>
Co-authored-by: Benjamin Rewis <32186188+benjirewis@users.noreply.github.com>
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!
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! Thanks.
SlowStartupLogger
is now renamed toSlowLogger
, and is used to measure shutdown time as well. In particular, it is added tocloseModule
andcloseResource
, since these are the most important and used pieces by the clients.To check this functionality,
TestSlowShutdownTicker
test was created to capture the logs that are output when resources/modules are taking a while to cleanly shutdown.