Skip to content
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

Merged
merged 1 commit into from
Sep 27, 2023
Merged

Fix time unit mixup in InstrumentedPool.PoolMetrics#isInactiveForMoreThan default implementation #177

merged 1 commit into from
Sep 27, 2023

Conversation

freelon
Copy link
Contributor

@freelon freelon commented Sep 26, 2023

Previously the units were mixed up and milliseconds were directly compared to seconds.

Fixes #176.

Previously the units were mixed up and milliseconds were directly compared to seconds.

Fixes #176.
@violetagg violetagg added this to the 0.2.12 milestone Sep 26, 2023
@violetagg violetagg added the type/bug A general bug label Sep 26, 2023
@violetagg violetagg linked an issue Sep 26, 2023 that may be closed by this pull request
@violetagg violetagg requested a review from a team September 26, 2023 15:02
@violetagg
Copy link
Member

@reactor/team PTAL

Copy link
Member

@chemicL chemicL left a 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!

Copy link
Member

@chemicL chemicL left a 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.

@violetagg violetagg changed the title Fix time unit mixup in InstrumentedPool.PoolMetrics Fix time unit mixup in InstrumentedPool.PoolMetrics default implementation Sep 27, 2023
@violetagg violetagg changed the title Fix time unit mixup in InstrumentedPool.PoolMetrics default implementation Fix time unit mixup in InstrumentedPool.PoolMetrics#isInactiveForMoreThan default implementation Sep 27, 2023
@violetagg violetagg merged commit 54288d9 into reactor:0.2.x Sep 27, 2023
2 checks passed
@reactorbot
Copy link

@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 main 🙇

violetagg added a commit that referenced this pull request Sep 27, 2023
@violetagg
Copy link
Member

@freelon Thanks for the PR
@chemicL Thanks for the review

This is merged into 0.2.x for version 0.2.12 and into main for version 1.0.3

@freelon freelon deleted the 176-instrumentedPoolMetricsIsInactiveMixesTimeUnits branch September 27, 2023 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

InstrumentedPool.PoolMetrics isInactiveForMoreThan mixes time units
4 participants