File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
packages/remote-config/src Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -119,12 +119,16 @@ export async function fetchConfig(remoteConfig: RemoteConfig): Promise<void> {
119119 abortSignal . abort ( ) ;
120120 } , rc . settings . fetchTimeoutMillis ) ;
121121
122+ const customSignals = rc . _storageCache . getCustomSignals ( ) ;
123+ if ( customSignals ) {
124+ rc . _logger . debug ( `Fetching config with custom signals: ${ JSON . stringify ( customSignals ) } ` ) ;
125+ }
122126 // Catches *all* errors thrown by client so status can be set consistently.
123127 try {
124128 await rc . _client . fetch ( {
125129 cacheMaxAgeMillis : rc . settings . minimumFetchIntervalMillis ,
126130 signal : abortSignal ,
127- customSignals : rc . _storageCache . getCustomSignals ( )
131+ customSignals
128132 } ) ;
129133
130134 await rc . _storageCache . setLastFetchStatus ( 'success' ) ;
You can’t perform that action at this time.
0 commit comments