Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benjackwhite committed Jun 19, 2024
1 parent 39c94b2 commit b06ac52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin-server/src/main/pluginsServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const pluginServerStartupTimeMs = new Counter({
export async function startPluginsServer(
config: Partial<PluginsServerConfig>,
makePiscina: (serverConfig: PluginsServerConfig, hub: Hub) => Promise<Piscina> = defaultMakePiscina,
capabilities?: PluginServerCapabilities
capabilitiesOverride?: PluginServerCapabilities
): Promise<ServerInstance> {
const timer = new Date()

Expand Down Expand Up @@ -175,7 +175,7 @@ export async function startPluginsServer(
process.exit(1)
})

capabilities = capabilities ?? getPluginServerCapabilities(serverConfig)
const capabilities = capabilitiesOverride ?? getPluginServerCapabilities(serverConfig)

// A collection of healthchecks that should be used to validate the
// health of the plugin-server. These are used by the /_health endpoint
Expand Down

0 comments on commit b06ac52

Please sign in to comment.