Skip to content

fix: use THREAD_COUNT instead of hardcoded 32 in operation_injector#4949

Open
radik878 wants to merge 1 commit into
massalabs:mainfrom
radik878:fix/op-injector-thread-count
Open

fix: use THREAD_COUNT instead of hardcoded 32 in operation_injector#4949
radik878 wants to merge 1 commit into
massalabs:mainfrom
radik878:fix/op-injector-thread-count

Conversation

@radik878
Copy link
Copy Markdown

Replace hardcoded 32 with THREAD_COUNT in operation_injector to prevent index panics, infinite loops, and incorrect TPS distribution when the protocol thread count changes, keeping the injector aligned with the global THREAD_COUNT constant used across the node

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant