Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gopls/internal/telemetry/cmd/stacks: use authentication token
GitHub imposes a stringent rate limit for unauthenticated requests, that our current rate of telemetry often exceeds. This change causes the stacks command to read a GitHub authentication token from $HOME/.stacks.token and use it if found, relaxing the rate limit. Instructions for creating a token are recorded in comments. Fixes golang/go#68733 Change-Id: Ia4b73faa1340dfbed4b9b350d2c57f09abf8ca38 Reviewed-on: https://go-review.googlesource.com/c/tools/+/603155 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Alan Donovan <adonovan@google.com> Reviewed-by: Robert Findley <rfindley@google.com>
- Loading branch information