@faapi/faapi 6.25.0 → 6.26.0
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.
- package/dist/cli/index.js +1 -1
- package/dist/cli/index.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/testing.js.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -2908,7 +2908,7 @@ async function scanTasks(rootDir, patterns) {
|
|
|
2908
2908
|
}
|
|
2909
2909
|
if (value > MAX_ISOLATED_TIMEOUT_MS) {
|
|
2910
2910
|
throw new Error(
|
|
2911
|
-
`[faapi] Task "${name}" timeoutMs ${value} exceeds the maximum ${MAX_ISOLATED_TIMEOUT_MS}ms (23 hours). The pg-boss driver budgets expire_in from timeoutMs (execution budget preventing mid-run re-delivery), and pg-boss
|
|
2911
|
+
`[faapi] Task "${name}" timeoutMs ${value} exceeds the maximum ${MAX_ISOLATED_TIMEOUT_MS}ms (23 hours). The pg-boss driver budgets expire_in from timeoutMs (execution budget preventing mid-run re-delivery), and pg-boss versions before 12.28 assert expire_in strictly below 24h \u2014 the 23h cap keeps every driver and pg-boss version on a single bound. Split the work into a resumable pipeline (persist progress, enqueue the next stage), or use the bullmq driver (Redis has no such cap).`
|
|
2912
2912
|
);
|
|
2913
2913
|
}
|
|
2914
2914
|
manifest.timeoutMs = value;
|