Skip to content
This repository was archived by the owner on Aug 12, 2026. It is now read-only.

Commit b1467ce

Browse files
committed
fix client rate limiter
Signed-off-by: Andrei Kvapil <[email protected]>
1 parent 68ac634 commit b1467ce

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • cmd/kubeapps-apis/plugins/fluxv2/packages/v1alpha1

‎cmd/kubeapps-apis/plugins/fluxv2/packages/v1alpha1/server.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,12 @@ func NewServer(configGetter core.KubernetesConfigGetter, kubeappsCluster string,
113113
return nil, fmt.Errorf("failed to get in-cluster config: %w", err)
114114
}
115115

116-
discoveryClient := memory.NewMemCacheClient(discovery.NewDiscoveryClientForConfigOrDie(config))
117-
118116
// Set QPS and burst
119117
config.QPS = clientQPS
120118
config.Burst = clientBurst
121119

120+
discoveryClient := memory.NewMemCacheClient(discovery.NewDiscoveryClientForConfigOrDie(config))
121+
122122
s := repoEventSink{
123123
clientGetter: backgroundClientGetter,
124124
chartCache: chartCache,

0 commit comments

Comments
 (0)