-
Notifications
You must be signed in to change notification settings - Fork 35
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
Update latency & tunnel failure monitors implementation #613
Conversation
@quanganhdo - I'm starting the review for this PR. Could I kindly ask to always include a description of the changes and a list of manual tests, ideally with 100% coverage of the changes? Thanks! |
Sources/NetworkProtection/Diagnostics/NetworkProtectionLatencyMonitor.swift
Show resolved
Hide resolved
Sources/NetworkProtection/Diagnostics/NetworkProtectionLatencyMonitor.swift
Outdated
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.
I currently can't test the macOS build as it's failing. Will check again when it's good. Added some initial feedback.
Sources/NetworkProtection/Diagnostics/NetworkProtectionTunnelFailureMonitor.swift
Outdated
Show resolved
Hide resolved
Sources/NetworkProtection/Diagnostics/NetworkProtectionLatencyMonitor.swift
Outdated
Show resolved
Hide resolved
Sources/NetworkProtection/Diagnostics/NetworkProtectionLatencyMonitor.swift
Outdated
Show resolved
Hide resolved
Sources/NetworkProtection/Diagnostics/NetworkProtectionTunnelFailureMonitor.swift
Outdated
Show resolved
Hide resolved
This seems to work for me. That said I'm getting a lot of these:
Any idea why that'd be the case? |
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.
I'm approving, but please take a moment to look at my last comment since there's some cleanup to do before merging.
Required:
Task/Issue URL: https://app.asana.com/0/0/1206209663744590/f and https://app.asana.com/0/0/1206212872939262/f
iOS PR: duckduckgo/iOS#2290
macOS PR: duckduckgo/macos-browser#2005
What kind of version bump will this require?: Patch
Description:
Updates the monitor implementation to use Task to address situations when timer is launched multiple times. This affects macOS where it may have caused pixel anomalies due.
OS Testing:
Internal references:
Software Engineering Expectations
Technical Design Template