Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@openfn/engine-multi

Package Overview
Dependencies
Maintainers
4
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openfn/engine-multi - npm Package Compare versions

Comparing version 0.3.0 to 0.4.0

6

CHANGELOG.md
# engine-multi
## 0.4.0
### Minor Changes
- 7e4c159: Rename attempts to runs
## 0.3.0

@@ -4,0 +10,0 @@

14

dist/index.js

@@ -448,3 +448,3 @@ // src/api.ts

logger.warn(
`adaptor ${specifier} does not have a version number - will attempt to auto-install`
`adaptor ${specifier} does not have a version number - will try to auto-install`
);

@@ -640,3 +640,3 @@ }

memoryLimitMb: options.memoryLimitMb,
timeout: options.attemptTimeoutMs
timeout: options.runTimeoutMs
};

@@ -729,3 +729,3 @@ if (workerOptions.memoryLimitMb) {

name: "@openfn/engine-multi",
version: "0.3.0",
version: "0.4.0",
description: "Multi-process runtime engine",

@@ -804,3 +804,3 @@ main: "dist/index.js",

// src/engine.ts
var DEFAULT_ATTEMPT_TIMEOUT = 1e3 * 60 * 10;
var DEFAULT_RUN_TIMEOUT = 1e3 * 60 * 10;
var DEFAULT_MEMORY_LIMIT_MB = 500;

@@ -831,3 +831,3 @@ var createWorkflowEvents = (engine, context, workflowId) => {

const deferredListeners = {};
const defaultTimeout = options.attemptTimeoutMs || DEFAULT_ATTEMPT_TIMEOUT;
const defaultTimeout = options.runTimeoutMs || DEFAULT_RUN_TIMEOUT;
const defaultMemoryLimit = options.memoryLimitMb || DEFAULT_MEMORY_LIMIT_MB;

@@ -876,3 +876,3 @@ let resolvedWorkerPath;

resolvers: opts.resolvers,
attemptTimeoutMs: opts.attemptTimeoutMs ?? defaultTimeout,
runTimeoutMs: opts.runTimeoutMs ?? defaultTimeout,
memoryLimitMb: opts.memoryLimitMb ?? defaultMemoryLimit

@@ -950,3 +950,3 @@ }

memoryLimitMb: options.memoryLimitMb || DEFAULT_MEMORY_LIMIT,
attemptTimeoutMs: options.attemptTimeoutMs,
runTimeoutMs: options.runTimeoutMs,
statePropsToRemove: options.statePropsToRemove ?? [

@@ -953,0 +953,0 @@ "configuration",

{
"name": "@openfn/engine-multi",
"version": "0.3.0",
"version": "0.4.0",
"description": "Multi-process runtime engine",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -39,3 +39,3 @@ ## Multi-process engine

Note: An Execution Plan is NOT the same as a Lightning attempt, although there is a 1:1 mapping between them.
Note: An Execution Plan is NOT the same as a Lightning run, although there is a 1:1 mapping between them.

@@ -42,0 +42,0 @@ Instantiate a new Engine:

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc