Skip to content

Conversation

@LordHepipud
Copy link
Collaborator

@LordHepipud LordHepipud commented Nov 3, 2021

Fixes an issue with -ThresholdInterval unit conversion, which causes an error if you want to convert 60m or 1h, as the used object is returning 0 for minutes in this matter, as the object itself moved to hours instead.

We should use TotalMinutes instead of Minutes on our TimeSpan object and round every single value returned to 0 digits.

@cla-bot cla-bot bot added the cla/signed label Nov 3, 2021
@LordHepipud LordHepipud force-pushed the fix/threshold_interval_fails_on_minute_to_hour_conversion branch from 086a093 to bfd0237 Compare November 3, 2021 16:23
@LordHepipud LordHepipud added this to the v1.7.0 milestone Nov 3, 2021
@LordHepipud LordHepipud added the Bug There is an issue present label Nov 3, 2021
@LordHepipud LordHepipud self-assigned this Nov 3, 2021
@LordHepipud LordHepipud changed the title Fix: Thershold interval time conversion Fix: Threshold interval time conversion Nov 3, 2021
@LordHepipud LordHepipud merged commit d759a4d into master Nov 3, 2021
@LordHepipud LordHepipud deleted the fix/threshold_interval_fails_on_minute_to_hour_conversion branch November 3, 2021 16:27
@LordHepipud LordHepipud linked an issue Nov 4, 2021 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug There is an issue present cla/signed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Performance Counter ThresholdInterval Problems

2 participants