workflow 4.8.8 → 4.8.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -198,6 +198,16 @@ Maximum size of the internal `pg.Pool` used when `createWorld()` constructs the
|
|
|
198
198
|
|
|
199
199
|
For higher worker concurrency, Graphile Worker recommends setting `maxPoolSize` to `10` or `queueConcurrency + 2`, whichever is larger.
|
|
200
200
|
|
|
201
|
+
### `WORKFLOW_POSTGRES_HEADERS_TIMEOUT_MS`
|
|
202
|
+
|
|
203
|
+
Maximum time in milliseconds a queue delivery waits for the workflow handler to begin responding before the delivery is failed and Graphile Worker redelivers the message. Default: `0` (no deadline).
|
|
204
|
+
|
|
205
|
+
A delivery executes the workflow body inline, so the handler responds only once that work is done. A deadline shorter than your longest inline step declares a healthy delivery crashed and redelivers it while the original is still running, executing the same steps twice. Set this only if you would rather a hung handler be redelivered than hold its worker slot until the process restarts, and set it above the longest inline work you expect.
|
|
206
|
+
|
|
207
|
+
### `WORKFLOW_POSTGRES_BODY_TIMEOUT_MS`
|
|
208
|
+
|
|
209
|
+
Maximum gap in milliseconds between response body chunks from the workflow handler before the delivery is failed and redelivered. Default: `0` (no deadline). The same caution as `WORKFLOW_POSTGRES_HEADERS_TIMEOUT_MS` applies.
|
|
210
|
+
|
|
201
211
|
### Programmatic configuration
|
|
202
212
|
|
|
203
213
|
{/* @skip-typecheck: incomplete code sample */}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "workflow",
|
|
3
|
-
"version": "4.8.
|
|
3
|
+
"version": "4.8.9",
|
|
4
4
|
"description": "Workflow SDK - Build durable, resilient, and observable workflows",
|
|
5
5
|
"main": "dist/typescript-plugin.cjs",
|
|
6
6
|
"type": "module",
|
|
@@ -57,18 +57,18 @@
|
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"ms": "2.1.3",
|
|
60
|
-
"@workflow/astro": "4.0.
|
|
61
|
-
"@workflow/cli": "4.3.
|
|
62
|
-
"@workflow/core": "4.8.
|
|
60
|
+
"@workflow/astro": "4.0.24",
|
|
61
|
+
"@workflow/cli": "4.3.13",
|
|
62
|
+
"@workflow/core": "4.8.9",
|
|
63
63
|
"@workflow/errors": "4.2.1",
|
|
64
64
|
"@workflow/typescript-plugin": "4.0.3",
|
|
65
65
|
"@workflow/utils": "4.1.4",
|
|
66
|
-
"@workflow/next": "4.1.
|
|
67
|
-
"@workflow/nest": "4.0.
|
|
68
|
-
"@workflow/nitro": "4.1.
|
|
69
|
-
"@workflow/nuxt": "4.0.
|
|
70
|
-
"@workflow/sveltekit": "4.0.
|
|
71
|
-
"@workflow/rollup": "4.0.
|
|
66
|
+
"@workflow/next": "4.1.13",
|
|
67
|
+
"@workflow/nest": "4.0.25",
|
|
68
|
+
"@workflow/nitro": "4.1.15",
|
|
69
|
+
"@workflow/nuxt": "4.0.25",
|
|
70
|
+
"@workflow/sveltekit": "4.0.24",
|
|
71
|
+
"@workflow/rollup": "4.0.24"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
74
|
"@types/ms": "2.1.0",
|