Skip to content

Commit

Permalink
Add http api port and async update flag (#2314)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Tideman authored Sep 17, 2024
1 parent bd34e6e commit 8e76540
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utilities/temporal-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export const createTemporalServer = async ({
`--port=${port}`,
`--ui-port=${uiPort}`,
`--log-level=${logLevel}`,
`--http-port=${port + 1}`,
];

if (codecEndpoint) {
Expand All @@ -79,7 +80,7 @@ export const createTemporalServer = async ({
}

const temporal =
$`${cliPath} server start-dev --dynamic-config-value frontend.enableUpdateWorkflowExecution=true --dynamic-config-value frontend.workerVersioningDataAPIs=true --dynamic-config-value frontend.workerVersioningWorkflowAPIs=true --dynamic-config-value worker.buildIdScavengerEnabled=true ${flags}`.quiet();
$`${cliPath} server start-dev --dynamic-config-value frontend.enableUpdateWorkflowExecution=true --dynamic-config-value frontend.enableUpdateWorkflowExecutionAsyncAccepted=true --dynamic-config-value frontend.workerVersioningDataAPIs=true --dynamic-config-value frontend.workerVersioningWorkflowAPIs=true --dynamic-config-value worker.buildIdScavengerEnabled=true ${flags}`.quiet();

temporal.catch(async ({ stdout, stderr, exitCode }) => {
console.log('EXIT CODE', exitCode);
Expand Down

0 comments on commit 8e76540

Please sign in to comment.