Skip to content

Conversation

@albertospelta
Copy link
Member

Add a safeguard in the to prevent division by zero when databaseSize is zero, which caused invalid JSON serialization values (NaN or Infinity).

Add a safeguard in the to prevent division by zero when `databaseSize` is zero, which caused invalid JSON serialization values (`NaN` or `Infinity`).
@albertospelta albertospelta merged commit bf49a95 into main Dec 12, 2025
1 check passed
@albertospelta albertospelta deleted the alberto/fix-issue-903 branch December 12, 2025 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

.NET number values such as positive and negative infinity cannot be written as valid JSON.

2 participants