Why isn't "allow-parallel-runners" used by default? #4100
Unanswered
leonklingele
asked this question in
Q&A
Replies: 1 comment
-
Was wondering the same thing and found this thread and clicked through the PRs and I think I found the answer: Issue #108 is noted as being fixed by #812. That issue talks about golangci-lint invocations spawned from file-save operations in IDEs and file-watcher style contexts, where redundant copies could be very wasteful. E.g. if you save 10 open files all at once and that leads to 10 copies all linting the same project/packages. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was wondering and couldn't find a reason why the golangci-lint config option
allow-parallel-runners
is not enabled by default. Is there any downside to not allow concurrent executions?The locking mechanism to enforce sequential runs was introduced in #812 while opting in to parallel runs was added in #1070, both changes unfortunately without an explanation on why they were made.
Beta Was this translation helpful? Give feedback.
All reactions