router
router copied to clipboard
do not recalculate DashMap's default shard amount on every new map
Fix #1366
small optimization that will reduce the number of syscalls (Dashmap recalculates the shard amount from the cgroup at creation but does not save the value anywhere)
@Geal your pull request is missing a changelog!
perf test please
perf test please
perf test please
this will be replaced by the fix for https://github.com/xacrimon/dashmap/issues/219 directly in dashmap
closing this because DashMap 5.4.0 was released with a fix for that and added to the router in https://github.com/apollographql/router/commit/01512853c25441b1dcd58a51562aa8677e37b73e