perf: reuse metadata across gateway runtime config

This commit is contained in:
Shakker
2026-05-06 23:58:36 +01:00
parent 1235f7f981
commit e8efb7339e

View File

@@ -657,7 +657,7 @@ export async function startGatewayServer(
} = pluginBootstrap;
setCurrentPluginMetadataSnapshot(pluginLookUpTable, {
config: startupActivationSourceConfig,
compatibleConfigs: [gatewayPluginConfigAtStart],
compatibleConfigs: [startupRuntimeConfig, cfgAtStart, gatewayPluginConfigAtStart],
env: process.env,
workspaceDir: defaultWorkspaceDir,
});