@glimt/record 0.0.68 → 0.0.69

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.js CHANGED
@@ -10353,6 +10353,7 @@ const _MutationRateLimiter = class _MutationRateLimiter2 {
10353
10353
  debugLog(
10354
10354
  `MutationRateLimiter, detected global storm over. Total mutations stormed: ${this.mutTracker.muts}`
10355
10355
  );
10356
+ this.reset();
10356
10357
  return false;
10357
10358
  }
10358
10359
  this.mutTracker.ts = now;
@@ -10365,7 +10366,6 @@ const _MutationRateLimiter = class _MutationRateLimiter2 {
10365
10366
  this.mutTracker.muts += muts;
10366
10367
  if (this.mutTracker.muts >= this.limit) {
10367
10368
  this.inGlobalStorm = true;
10368
- this.reset();
10369
10369
  debugLog(`MutationRateLimiter, detected global rolling storm`);
10370
10370
  return true;
10371
10371
  }