@dudousxd/nestjs-durable 0.67.0 → 0.69.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/index.cjs +24 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +22 -5
- package/dist/index.d.ts +22 -5
- package/dist/index.js +24 -0
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
package/dist/index.cjs
CHANGED
|
@@ -1593,6 +1593,18 @@ var ThinWorkerBootstrap = class {
|
|
|
1593
1593
|
...options.concurrency !== void 0 ? {
|
|
1594
1594
|
concurrency: options.concurrency
|
|
1595
1595
|
} : {},
|
|
1596
|
+
...options.concurrencyByHandler !== void 0 ? {
|
|
1597
|
+
concurrencyByHandler: options.concurrencyByHandler
|
|
1598
|
+
} : {},
|
|
1599
|
+
...options.lockDuration !== void 0 ? {
|
|
1600
|
+
lockDuration: options.lockDuration
|
|
1601
|
+
} : {},
|
|
1602
|
+
...options.stalledInterval !== void 0 ? {
|
|
1603
|
+
stalledInterval: options.stalledInterval
|
|
1604
|
+
} : {},
|
|
1605
|
+
...options.maxStalledCount !== void 0 ? {
|
|
1606
|
+
maxStalledCount: options.maxStalledCount
|
|
1607
|
+
} : {},
|
|
1596
1608
|
// Announce the app's schedules (an empty list too) so the control plane adopts, updates and
|
|
1597
1609
|
// withdraws them: a tenant has no store to fire them from.
|
|
1598
1610
|
...await tenantScheduleAnnouncement(options, this.auth.tenantToken)
|
|
@@ -1947,6 +1959,18 @@ var InAppWorkerBootstrap = class {
|
|
|
1947
1959
|
} : {},
|
|
1948
1960
|
...options.concurrency !== void 0 ? {
|
|
1949
1961
|
concurrency: options.concurrency
|
|
1962
|
+
} : {},
|
|
1963
|
+
...options.concurrencyByHandler !== void 0 ? {
|
|
1964
|
+
concurrencyByHandler: options.concurrencyByHandler
|
|
1965
|
+
} : {},
|
|
1966
|
+
...options.lockDuration !== void 0 ? {
|
|
1967
|
+
lockDuration: options.lockDuration
|
|
1968
|
+
} : {},
|
|
1969
|
+
...options.stalledInterval !== void 0 ? {
|
|
1970
|
+
stalledInterval: options.stalledInterval
|
|
1971
|
+
} : {},
|
|
1972
|
+
...options.maxStalledCount !== void 0 ? {
|
|
1973
|
+
maxStalledCount: options.maxStalledCount
|
|
1950
1974
|
} : {}
|
|
1951
1975
|
});
|
|
1952
1976
|
this.runners.push(handle);
|