Skip to content

Commit

Permalink
Merge pull request #1101 from Concordium/grpc2-blocking-threads
Browse files Browse the repository at this point in the history
Run queries in dedicated threads
  • Loading branch information
abizjak authored Feb 5, 2024
2 parents 05cd52f + 61c8b8f commit 516529c
Show file tree
Hide file tree
Showing 5 changed files with 886 additions and 599 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@

- Fix a bug where `GetBlockPendingUpdates` fails to report pending updates to the finalization
committee parameters.
- Run GRPC queries in dedicated threads. This improves node resource management
and increases responsiveness of the GRPC server in cases of high number of
concurrent queries. To support this a new option `--grpc2-max-threads`
(environment variable `CONCORDIUM_NODE_GRPC2_MAX_THREADS`) is
added which specifies the number of threads that the node should use for
processing gRPC requests. If not set this defaults to the number of (logical)
CPUs.
- The option `--grpc2-max-concurrent-streams` now defaults to `200` from the
previous unbounded value. This makes the node defaults safer.

## 6.2.3

Expand Down
Loading

0 comments on commit 516529c

Please sign in to comment.