@dudousxd/nestjs-durable-core 0.67.0 → 0.67.1
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/index.cjs +4 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1752,12 +1752,10 @@ var SingletonGate = class {
|
|
|
1752
1752
|
]
|
|
1753
1753
|
})).sort((a, b) => a.createdAt.getTime() - b.createdAt.getTime() || a.id.localeCompare(b.id));
|
|
1754
1754
|
for (const next of gated.slice(0, cfg.limit ?? 1)) {
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
}).catch(() => void 0);
|
|
1760
|
-
}
|
|
1755
|
+
await this.deps.store.updateRun(next.id, {
|
|
1756
|
+
wakeAt: this.deps.clock(),
|
|
1757
|
+
updatedAt: /* @__PURE__ */ new Date()
|
|
1758
|
+
}).catch(() => void 0);
|
|
1761
1759
|
this.deps.dispatch(next.id);
|
|
1762
1760
|
}
|
|
1763
1761
|
}
|