File tree Expand file tree Collapse file tree 2 files changed +1
-13
lines changed
components/ws-proxy/pkg/config
install/installer/pkg/common Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ func GetConfig(fn string) (*Config, error) {
70
70
return nil , xerrors .Errorf ("config validation error: %w" , err )
71
71
}
72
72
73
- timeout := time .Minute * 5
73
+ timeout := time .Second * 45
74
74
log .WithField ("timeout" , timeout ).Info ("waiting for Feature Flag" )
75
75
experimentsClient := experiments .NewClient (experiments .WithPollInterval (time .Second * 3 ))
76
76
ctx , cancel := context .WithTimeout (context .Background (), timeout )
Original file line number Diff line number Diff line change @@ -410,18 +410,6 @@ func ConfigcatEnv(ctx *RenderContext) []corev1.EnvVar {
410
410
}
411
411
412
412
func ConfigcatEnvOutOfCluster (ctx * RenderContext ) []corev1.EnvVar {
413
- var sdkKey string
414
- _ = ctx .WithExperimental (func (cfg * experimental.Config ) error {
415
- if cfg .WebApp != nil && cfg .WebApp .ConfigcatKey != "" {
416
- sdkKey = cfg .WebApp .ConfigcatKey
417
- }
418
- return nil
419
- })
420
-
421
- if sdkKey == "" {
422
- return nil
423
- }
424
-
425
413
return []corev1.EnvVar {
426
414
{
427
415
Name : "CONFIGCAT_SDK_KEY" ,
You can’t perform that action at this time.
0 commit comments