Browse Source

Better fix.

pull/800/head
Sebastian 4 years ago
parent
commit
e9c788a771
  1. 2
      backend/src/Squidex.Infrastructure/Commands/Rebuilder.cs

2
backend/src/Squidex.Infrastructure/Commands/Rebuilder.cs

@ -167,7 +167,7 @@ namespace Squidex.Infrastructure.Commands
var errorRate = (double)handlerErrors / handledIds.Count;
if (errorRate > 0 && errorRate >= errorThreshold)
if (errorRate > errorThreshold)
{
throw new InvalidOperationException($"Error rate of {errorRate} is above threshold {errorThreshold}.");
}

Loading…
Cancel
Save