-
Notifications
You must be signed in to change notification settings - Fork 191
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
migrate Clock classes to API #1281
Conversation
- move Clock* + Util into API - add a deprecated wrapper for ClockFactory and Util - remove unused StopWatch* classes
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.
Amazing, thanks for this! ⏱️
It's not really a factory, and really only provides access to a system clock. Create a Clock class which is more clear in its purpose.
per review feedback, it's only used in Zipkin. Removed some unused consts from ClockInterface
Co-authored-by: Tobias Bachert <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1281 +/- ##
============================================
- Coverage 74.31% 73.97% -0.34%
+ Complexity 2391 2365 -26
============================================
Files 349 347 -2
Lines 7124 7071 -53
============================================
- Hits 5294 5231 -63
- Misses 1830 1840 +10
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 2 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
Fixes: #1280