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 {
2323 // clientKey is an identifier of our ConfigCat application. It is not a secret.
2424 const clientKey = "WBLaCPtkjkqKHlHedziE9g/TwAe6YyftEGPnGxVRXd0Ig" ;
2525 const client = configcat . createClient ( clientKey , {
26+ maxInitWaitTimeSeconds : 0 ,
2627 logger : configcat . createConsoleLogger ( 2 ) ,
2728 } ) ;
2829
@@ -35,6 +36,7 @@ export function newNonProductionConfigCatClient(): Client {
3536 // clientKey is an identifier of our ConfigCat application. It is not a secret.
3637 const clientKey = "WBLaCPtkjkqKHlHedziE9g/LEAOCNkbuUKiqUZAcVg7dw" ;
3738 const client = configcat . createClient ( clientKey , {
39+ maxInitWaitTimeSeconds : 0 ,
3840 pollIntervalSeconds : 60 * 3 , // 3 minutes
3941 logger : configcat . createConsoleLogger ( 3 ) ,
4042 } ) ;
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ export function getExperimentsClient(): IConfigCatClient {
1414 if ( client === undefined ) {
1515 client = configcat . createClient ( "WBLaCPtkjkqKHlHedziE9g/LEAOCNkbuUKiqUZAcVg7dw" , {
1616 // <-- This is the actual SDK Key for your Test environment
17+ maxInitWaitTimeSeconds : 0 ,
1718 logger : logger ,
1819 } ) ;
1920 }
You can’t perform that action at this time.
0 commit comments