-
Notifications
You must be signed in to change notification settings - Fork 33
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
Fix time unit mixup in InstrumentedPool.PoolMetrics#isInactiveForMoreThan
default implementation
#177
Fix time unit mixup in InstrumentedPool.PoolMetrics#isInactiveForMoreThan
default implementation
#177
Conversation
Previously the units were mixed up and milliseconds were directly compared to seconds. Fixes #176.
@reactor/team PTAL |
reactor-pool/src/test/java/reactor/pool/InstrumentedPoolPoolMetricsTest.java
Show resolved
Hide resolved
reactor-pool/src/test/java/reactor/pool/InstrumentedPoolPoolMetricsTest.java
Show resolved
Hide resolved
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.
Left a few comments, pretty quick to address. Thanks for the contribution!
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.
After clarifications my comments are now resolved.
InstrumentedPool.PoolMetrics
default implementation
InstrumentedPool.PoolMetrics
default implementationInstrumentedPool.PoolMetrics#isInactiveForMoreThan
default implementation
@violetagg this PR seems to have been merged on a maintenance branch, please ensure the change is merge-forwarded to intermediate maintenance branches and up to |
Previously the units were mixed up and milliseconds were directly compared to seconds.
Fixes #176.