@adonis-agora/durable 0.43.5 → 0.43.6
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/CHANGELOG.md +12 -0
- package/dist/assets/spa/assets/{index-kVOBhKib.js → index-RO4fijCZ.js} +2 -2
- package/dist/assets/spa/assets/index-RO4fijCZ.js.map +1 -0
- package/dist/assets/spa/index.html +1 -1
- package/dist/src/dashboard/index.d.ts +1 -1
- package/dist/src/dashboard/index.js +1 -1
- package/dist/src/engine.d.ts.map +1 -1
- package/dist/src/engine.js +11 -1
- package/dist/src/engine.js.map +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.js +1 -1
- package/package.json +2 -2
- package/dist/assets/spa/assets/index-kVOBhKib.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @adonis-agora/durable
|
|
2
2
|
|
|
3
|
+
## 0.43.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#183](https://github.com/DavideCarvalho/adonis-agora-durable/pull/183) [`010d071`](https://github.com/DavideCarvalho/adonis-agora-durable/commit/010d071ac81141270f05bedb4549fdb09f1fa8dd) Thanks [@DavideCarvalho](https://github.com/DavideCarvalho)! - A stale gather turn no longer orphans its run
|
|
8
|
+
|
|
9
|
+
A turn is computed from a SNAPSHOT of history, and the ops it declares can all have settled while its decision was in flight. The canonical case is a `gather_calls` fan-out whose last call lands while the turn holding the run lease is still deciding: that call's `resume` reaches `execute`, finds the lease contended and returns silently — no retry, no reschedule — so its wake is spent for nothing, and the decision then parks the run on a `call` that is already complete.
|
|
10
|
+
|
|
11
|
+
Every call settled, nothing holding the lease, no wake scheduled: the run sits `suspended` until the `reconcileMs` orphan sweep re-drives it, minutes later.
|
|
12
|
+
|
|
13
|
+
After a turn parks, the engine now checks whether any `call` it parked on has already settled, and re-drives the run if so. Ported from the NestJS sibling, where the same shape stalled 23% of a seven-call fan-out's runs for 301 seconds each.
|
|
14
|
+
|
|
3
15
|
## 0.43.5
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|