Skip to content

Commit fc65cf1

Browse files
[server] increase getToken bucket size (#20398)
1 parent 5a5792b commit fc65cf1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

components/gitpod-cli/cmd/credential-helper.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ var credentialHelper = &cobra.Command{
8686
Kind: "git",
8787
})
8888
if err != nil {
89-
log.WithError(err).Print("error getting token from supervisior")
90-
return GpError{Err: xerrors.Errorf("error getting token from supervisior: %w", err), Silence: true, ExitCode: &exitCode}
89+
log.WithError(err).Print("error getting token from supervisor")
90+
return GpError{Err: xerrors.Errorf("error getting token from supervisor: %w", err), Silence: true, ExitCode: &exitCode}
9191
}
9292

9393
user = resp.User

components/server/src/auth/rate-limiter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ function getConfig(config: RateLimiterConfig): RateLimiterConfig {
208208
durationsSec: 60,
209209
},
210210
getToken: {
211-
points: 200, // 200 calls per user, per connection, per minute
211+
points: 500, // 500 calls per user, per connection, per minute
212212
durationsSec: 60,
213213
},
214214
startWorkspace: {

0 commit comments

Comments
 (0)