Skip to content

Commit

Permalink
maint(exec): remove port environment variable
Browse files Browse the repository at this point in the history
It's no longer necessary to supply port as an environment variable. Port
is now a default option which means that it can be set as an environment
variable with the format SERVICE_NAME__PORT.
  • Loading branch information
smartcontracts committed Feb 9, 2023
1 parent cab3f56 commit a76efad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/clean-kangaroos-camp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@chugsplash/executor': patch
---

Removes an unnecessary environment variable in the ChugSplashExecutor.
1 change: 0 additions & 1 deletion packages/executor/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ export class ChugSplashExecutor extends BaseServiceV2<
loop: true,
options: {
loopIntervalMs: 5000,
port: parseInt(process.env.EXECUTOR_PORT ?? '7300', 10),
...options,
},
optionsSpec: {
Expand Down

0 comments on commit a76efad

Please sign in to comment.