Skip to content

Commit

Permalink
copyright
Browse files Browse the repository at this point in the history
  • Loading branch information
arnetheduck committed Jan 30, 2025
1 parent ac24d77 commit 439a1a7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nimbus/db/core_db/backend/aristo_rocksdb.nim
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Nimbus
# Copyright (c) 2023-2024 Status Research & Development GmbH
# Copyright (c) 2023-2025 Status Research & Development GmbH
# Licensed under either of
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
# http://www.apache.org/licenses/LICENSE-2.0)
Expand Down
5 changes: 4 additions & 1 deletion nimbus/rpc/rpc_server.nim
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ func defaultRpcHttpServerParams(): RpcHttpServerParams =
serverUri: Uri(),
serverIdent: "",
maxConnections: -1,
bufferSize: 4096,
# Assuming blocks take up to 16mb, it takes up to 64 reads to fetch the
# block from the OS buffer (which fills up quickly when the block is arriving
# from a local socket)
bufferSize: 256 * 1024,
backlogSize: 100,
httpHeadersTimeout: 10.seconds,
maxHeadersSize: 64 * 1024,
Expand Down

0 comments on commit 439a1a7

Please sign in to comment.