SIGN IN SIGN UP

fix(cluster): reduce lock contention on cluster initialization (#660)

* fix: move expensive function outside lock

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

* add benchmark

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

---------

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
M
Michael Crenshaw committed
d78929e7f6c7e114241e7cbfa5fab14391027a2e
Parent: 54992bf
Committed by GitHub <noreply@github.com> on 1/24/2025, 9:18:12 PM