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