HF RL Explorer

Cache initial capacity calculation incorrect when MaxShardSize is set

Cache initial capacity calculation incorrect when MaxShardSize is set: a task in UltraTerminal (Harbor dataset). When creating a cache with a MaxShardSize configuration, the initial capacity calculation is not respecting the maximum shard size limit. The cache is allocating more memory than…

The task

When creating a cache with a MaxShardSize configuration, the initial capacity calculation is not respecting the maximum shard size limit. The cache is allocating more memory than expected for the initial capacity.

Part of harness-hub/UltraTerminal.