@glimt/record 0.0.67 → 0.0.68

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/record.cjs CHANGED
@@ -10349,9 +10349,12 @@ const _MutationRateLimiter = class _MutationRateLimiter2 {
10349
10349
  isStorming(muts) {
10350
10350
  const now = Date.now();
10351
10351
  if (this.inGlobalStorm) {
10352
+ this.mutTracker.muts += muts;
10352
10353
  if (now - this.mutTracker.ts > this.interval) {
10353
10354
  this.inGlobalStorm = false;
10354
- debugLog(`MutationRateLimiter, detected global storm over`);
10355
+ debugLog(
10356
+ `MutationRateLimiter, detected global storm over. Total mutations stormed: ${this.mutTracker.muts}`
10357
+ );
10355
10358
  return false;
10356
10359
  }
10357
10360
  this.mutTracker.ts = now;