@dudousxd/nestjs-durable 0.46.1 → 0.46.2

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
@@ -1385,7 +1385,9 @@ var RetentionPoller = class {
1385
1385
  }
1386
1386
  }
1387
1387
  /** Stop sweeping and wait for the sweep in flight (bounded by `shutdownTimeoutMs`, default 10s),
1388
- * so no prune is still pending when the host closes its connection pool. */
1388
+ * so no prune is still pending when the host closes its connection pool. This wait runs concurrently
1389
+ * with the timer poller's and is NOT deducted from the engine's drain budget (the retention poller
1390
+ * holds no engine), so a slow prune can add up to one more `shutdownTimeoutMs` before the drain. */
1389
1391
  async onModuleDestroy() {
1390
1392
  if (this.timer) clearInterval(this.timer);
1391
1393
  this.stopping = true;