File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
dashboard/src/experiments Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ export function newProductionConfigCatClient(): Client {
23
23
// clientKey is an identifier of our ConfigCat application. It is not a secret.
24
24
const clientKey = "WBLaCPtkjkqKHlHedziE9g/TwAe6YyftEGPnGxVRXd0Ig" ;
25
25
const client = configcat . createClient ( clientKey , {
26
+ maxInitWaitTimeSeconds : 0 ,
26
27
logger : configcat . createConsoleLogger ( 2 ) ,
27
28
} ) ;
28
29
@@ -35,6 +36,7 @@ export function newNonProductionConfigCatClient(): Client {
35
36
// clientKey is an identifier of our ConfigCat application. It is not a secret.
36
37
const clientKey = "WBLaCPtkjkqKHlHedziE9g/LEAOCNkbuUKiqUZAcVg7dw" ;
37
38
const client = configcat . createClient ( clientKey , {
39
+ maxInitWaitTimeSeconds : 0 ,
38
40
pollIntervalSeconds : 60 * 3 , // 3 minutes
39
41
logger : configcat . createConsoleLogger ( 3 ) ,
40
42
} ) ;
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ export function getExperimentsClient(): IConfigCatClient {
14
14
if ( client === undefined ) {
15
15
client = configcat . createClient ( "WBLaCPtkjkqKHlHedziE9g/LEAOCNkbuUKiqUZAcVg7dw" , {
16
16
// <-- This is the actual SDK Key for your Test environment
17
+ maxInitWaitTimeSeconds : 0 ,
17
18
logger : logger ,
18
19
} ) ;
19
20
}
You can’t perform that action at this time.
0 commit comments