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

reduce background network access #5566

Merged
merged 1 commit into from
Sep 15, 2024
Merged

reduce background network access #5566

merged 1 commit into from
Sep 15, 2024

Commits on Sep 14, 2024

  1. reduce background network access

    Skip the UpstreamHealthProviderCheck if the window is not focused, and try again when the window becomes focused again. Some users have OS firewalls that make periodic background network access annoying for users. See https://linear.app/sourcegraph/issue/CODY-3745/codys-background-periodic-network-access-causes-2fa.
    
    This check is used to gather latency information to properly measure actual latency for autocomplete. As long as the user has VS Code focused for slightly more than 10 seconds, it will still gather the necessary latency information for these calculations.
    
    Fixes https://linear.app/sourcegraph/issue/CODY-3745/codys-background-periodic-network-access-causes-2fa
    sqs committed Sep 14, 2024
    Configuration menu
    Copy the full SHA
    b814dea View commit details
    Browse the repository at this point in the history