Skip to content

Commit

Permalink
[server] increase getToken bucket size (#20398)
Browse files Browse the repository at this point in the history
  • Loading branch information
filiptronicek authored Nov 28, 2024
1 parent 5a5792b commit fc65cf1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions components/gitpod-cli/cmd/credential-helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ var credentialHelper = &cobra.Command{
Kind: "git",
})
if err != nil {
log.WithError(err).Print("error getting token from supervisior")
return GpError{Err: xerrors.Errorf("error getting token from supervisior: %w", err), Silence: true, ExitCode: &exitCode}
log.WithError(err).Print("error getting token from supervisor")
return GpError{Err: xerrors.Errorf("error getting token from supervisor: %w", err), Silence: true, ExitCode: &exitCode}
}

user = resp.User
Expand Down
2 changes: 1 addition & 1 deletion components/server/src/auth/rate-limiter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ function getConfig(config: RateLimiterConfig): RateLimiterConfig {
durationsSec: 60,
},
getToken: {
points: 200, // 200 calls per user, per connection, per minute
points: 500, // 500 calls per user, per connection, per minute
durationsSec: 60,
},
startWorkspace: {
Expand Down

0 comments on commit fc65cf1

Please sign in to comment.