Skip to content
Snippets Groups Projects
Unverified Commit eb5f0a74 authored by Rhys Arkins's avatar Rhys Arkins Committed by GitHub
Browse files

fix(cache): Revert "refactor: Initialize caches before repository init" (#27908)

parent fc141894
No related branches found
No related tags found
No related merge requests found
...@@ -48,8 +48,8 @@ export async function initRepo( ...@@ -48,8 +48,8 @@ export async function initRepo(
let config: RenovateConfig = initializeConfig(config_); let config: RenovateConfig = initializeConfig(config_);
await resetCaches(); await resetCaches();
logger.once.reset(); logger.once.reset();
await initializeCaches(config as WorkerPlatformConfig);
config = await initApis(config); config = await initApis(config);
await initializeCaches(config as WorkerPlatformConfig);
config = await getRepoConfig(config); config = await getRepoConfig(config);
setRepositoryLogLevelRemaps(config.logLevelRemap); setRepositoryLogLevelRemaps(config.logLevelRemap);
checkIfConfigured(config); checkIfConfigured(config);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment