Add some tag utils

This commit is contained in:
Jon Staab
2024-04-09 10:52:19 -07:00
parent 17da310748
commit b0e40e8177
6 changed files with 28 additions and 15 deletions
+1 -1
View File
@@ -287,7 +287,7 @@ export class RouterScenario {
}
// Adjust redundancy by limit, since if we're looking for very specific values odds
// are wee're less tolerant of failure. Add more redundancy to fill our relay limit.
// are we're less tolerant of failure. Add more redundancy to fill our relay limit.
const limit = this.getLimit()
const redundancy = this.getRedundancy()
const adjustedRedundancy = Math.max(redundancy, redundancy * (limit / (allValues.size * redundancy)))