Skip to content

Commit 7e21e00

Browse files
author
Shivam Mukhade
committed
Increasing QPS, Burst limit to 50 for handling multiple pipelinerun
by default QPS is 5, but if there are multiple pipelineruns then logs show were are rate limiting, because we create secret as well as pipelineruns, hence increasing. Signed-off-by: Shivam Mukhade <[email protected]>
1 parent 608517d commit 7e21e00

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/params/clients/clients.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ func (c *Clients) NewClients(ctx context.Context, info *info.Info) error {
129129
if err != nil {
130130
return err
131131
}
132+
config.QPS = 50
133+
config.Burst = 50
132134

133135
c.Kube, err = c.kubeClient(config)
134136
if err != nil {

0 commit comments

Comments
 (0)