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

Disallow multiple executions on same project #167

Closed
sudo-suhas opened this issue Jul 26, 2018 · 2 comments
Closed

Disallow multiple executions on same project #167

sudo-suhas opened this issue Jul 26, 2018 · 2 comments

Comments

@sudo-suhas
Copy link

Version of golangci-lint: e17b954

Go environment:

go version && go env
go version go1.10.1 linux/amd64
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/suhaskaranth/.cache/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/suhaskaranth/installs/go-tools"
GORACE=""
GOROOT="/usr/lib/go-1.10"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go-1.10/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build692454894=/tmp/go-build   -gno-record-gcc-switches"

I am using the linter using editor integration on vscode. After I did a find-replace for some 9 files(changed comments only), the system hung completely. Since I had "System Monitor" already open, I could see that there were that many instances of golangci-lint trying to run. Is there any way to handle this so that redundant concurrent executions don't run and kill the system?

@sudo-suhas
Copy link
Author

Relevant issue from vscode extension: microsoft/vscode-go#1015

@jirfag
Copy link
Member

jirfag commented Jul 28, 2018

hi, thank you, but it's a duplicate of #108

@jirfag jirfag closed this as completed Jul 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants