@dudousxd/nestjs-durable 0.67.0 → 0.68.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 CHANGED
@@ -1593,6 +1593,15 @@ var ThinWorkerBootstrap = class {
1593
1593
  ...options.concurrency !== void 0 ? {
1594
1594
  concurrency: options.concurrency
1595
1595
  } : {},
1596
+ ...options.lockDuration !== void 0 ? {
1597
+ lockDuration: options.lockDuration
1598
+ } : {},
1599
+ ...options.stalledInterval !== void 0 ? {
1600
+ stalledInterval: options.stalledInterval
1601
+ } : {},
1602
+ ...options.maxStalledCount !== void 0 ? {
1603
+ maxStalledCount: options.maxStalledCount
1604
+ } : {},
1596
1605
  // Announce the app's schedules (an empty list too) so the control plane adopts, updates and
1597
1606
  // withdraws them: a tenant has no store to fire them from.
1598
1607
  ...await tenantScheduleAnnouncement(options, this.auth.tenantToken)
@@ -1947,6 +1956,15 @@ var InAppWorkerBootstrap = class {
1947
1956
  } : {},
1948
1957
  ...options.concurrency !== void 0 ? {
1949
1958
  concurrency: options.concurrency
1959
+ } : {},
1960
+ ...options.lockDuration !== void 0 ? {
1961
+ lockDuration: options.lockDuration
1962
+ } : {},
1963
+ ...options.stalledInterval !== void 0 ? {
1964
+ stalledInterval: options.stalledInterval
1965
+ } : {},
1966
+ ...options.maxStalledCount !== void 0 ? {
1967
+ maxStalledCount: options.maxStalledCount
1950
1968
  } : {}
1951
1969
  });
1952
1970
  this.runners.push(handle);