Skip to content

Commit

Permalink
feat: Inherit all env variables to Cube Store (auto provisioning) (#3045
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ovr authored Oct 8, 2024
1 parent 59dd29e commit 4902e6f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rust/cubestore/js-wrapper/src/process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ interface StartProcessOptions extends CubeStoreHandlerOptions {

async function startProcess(pathToExecutable: string, config: Readonly<StartProcessOptions>) {
const env: Record<string, string> = {
// inherit all env variables from node
...process.env,
CUBESTORE_PORT: '13306', // TODO MySQL port. Remove it when it becomes optional.
CUBESTORE_SELECT_WORKERS: '0',
};
Expand Down

0 comments on commit 4902e6f

Please sign in to comment.