Skip to content

Commit

Permalink
worker: tweak steps refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
josephjclark committed Jan 26, 2024
1 parent 487c9c6 commit 4c0a18d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/ws-worker/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@
### Patch Changes

- 22339c6: Add MAX_RUN_MEMORY env var and option to limit the memory available to each run
- 04ac3cc: Include duration and threadid in step-complete
- 340b96e: Send memory usage to lightning on step:complete
- 04ac3cc: Include duration and threadid in run-complete
- 340b96e: Send memory usage to lightning on run:complete
- Updated dependencies
- @openfn/engine-multi@0.2.2
- @openfn/runtime@0.2.1
Expand Down
2 changes: 1 addition & 1 deletion packages/ws-worker/src/events/step-start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default async function onStepStart(
// Send the log with its own little state object
// to preserve the run id
// Otherwise, by the time the log sends,
// the activestep could have changed
// the active step could have changed
// TODO if I fix ordering I think I can kill this
const versionLogContext = {
...context,
Expand Down

0 comments on commit 4c0a18d

Please sign in to comment.