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

Prevent multiple linters running for the same URI #82

Merged
merged 2 commits into from
Dec 24, 2020

Commits on Dec 23, 2020

  1. Prevent multiple linters running for the same URI

    For long running linters, there was a build up LSP requests that did not
    clear until all linters had finished. Now the linters are running in a
    separate goroutine with a context that is canceled whenever a new
    request for the same URI comes in. This means in effect that the latest
    linter instance is the one returning a result.
    ndreas committed Dec 23, 2020
    Configuration menu
    Copy the full SHA
    f44cc8f View commit details
    Browse the repository at this point in the history
  2. Fix tests

    ndreas committed Dec 23, 2020
    Configuration menu
    Copy the full SHA
    6b96346 View commit details
    Browse the repository at this point in the history