Skip to content

Commit c95a341

Browse files
Fix Vishu's comment
1 parent d13d31d commit c95a341

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

main.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -332,11 +332,10 @@ func main() {
332332
// Configure longer timeouts for cluster connections only for Azure Secret cloud
333333
if os.Getenv("AZURE_ENVIRONMENT") == azure.AzSecretCloudName {
334334
restConfig.Timeout = 30 * time.Second
335+
restConfig.QPS = 20
336+
restConfig.Burst = 30
335337
}
336338

337-
restConfig.QPS = 20
338-
restConfig.Burst = 30
339-
340339
mgr, err := ctrl.NewManager(restConfig, ctrl.Options{
341340
Scheme: scheme,
342341
LeaderElection: enableLeaderElection,

0 commit comments

Comments
 (0)