@openfn/engine-multi
Advanced tools
Comparing version 0.3.0 to 0.4.0
# engine-multi | ||
## 0.4.0 | ||
### Minor Changes | ||
- 7e4c159: Rename attempts to runs | ||
## 0.3.0 | ||
@@ -4,0 +10,0 @@ |
@@ -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: |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
42279