Skip to content

Commit 7831859

Browse files
committed
change sseEnabled if statement
1 parent 376dbee commit 7831859

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/proxy/resync.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,8 @@ func StartBackgroundLoops(ctx context.Context, cache *Cache, domainURL *url.URL,
330330
if sseEnabled {
331331
go startAccessTokenValidation(ctx, cache, domainURL, httpClient, accessTokenCheckInterval)
332332
}
333+
334+
go startAccessTokenValidation(ctx, cache, domainURL, httpClient, accessTokenCheckInterval)
333335
go startStaticSecretsRefresh(ctx, cache, domainURL, httpClient, staticSecretsRefreshInterval)
334336

335337
}

0 commit comments

Comments
 (0)