(userID string)
| 337 | } |
| 338 | |
| 339 | func (l *Limiter) getShardSize(userID string) int { |
| 340 | if !l.shuffleShardingEnabled { |
| 341 | return 0 |
| 342 | } |
| 343 | |
| 344 | return l.limits.IngestionTenantShardSize(userID) |
| 345 | } |
| 346 | |
| 347 | func (l *Limiter) getNumZones() int { |
| 348 | if l.zoneAwarenessEnabled { |
no test coverage detected