mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-15 10:53:09 -06:00
Lower memory usage
This commit is contained in:
parent
5747fe936b
commit
1cdf60e2ef
|
|
@ -29,7 +29,7 @@ steps:
|
||||||
|
|
||||||
- command:
|
- command:
|
||||||
# https://github.com/golangci/golangci-lint#memory-usage-of-golangci-lint
|
# https://github.com/golangci/golangci-lint#memory-usage-of-golangci-lint
|
||||||
- "GOGC=40 ./scripts/find-lint.sh"
|
- "GOGC=10 ./scripts/find-lint.sh"
|
||||||
label: ":lower_left_crayon: Lint / :go: 1.12"
|
label: ":lower_left_crayon: Lint / :go: 1.12"
|
||||||
plugins:
|
plugins:
|
||||||
- docker#v3.0.1:
|
- docker#v3.0.1:
|
||||||
|
|
|
||||||
|
|
@ -25,8 +25,6 @@ if [ -n "${DENDRITE_LINT_CONCURRENCY:-}" ]
|
||||||
then args="$args --concurrency=$DENDRITE_LINT_CONCURRENCY"
|
then args="$args --concurrency=$DENDRITE_LINT_CONCURRENCY"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "GOGC: $GOGC"
|
|
||||||
|
|
||||||
echo "Installing golangci-lint..."
|
echo "Installing golangci-lint..."
|
||||||
go get github.com/golangci/golangci-lint/cmd/golangci-lint
|
go get github.com/golangci/golangci-lint/cmd/golangci-lint
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue