Skip to content

Commit

Permalink
Increase maximum kademlia record size to allow row with 512 cells
Browse files Browse the repository at this point in the history
  • Loading branch information
aterentic-ethernal committed Jan 21, 2025
1 parent 58b578b commit 86f9e7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## 1.2.0

- Increase maximum kademlia record size to allow row with 512 cells
- Fix issue with multiple telemetry gauge callbacks

## [1.1.0](https://github.com/availproject/avail-light/tree/avail-light-core-v1.1.0) - 2024-12-20
Expand Down
2 changes: 1 addition & 1 deletion core/src/network/p2p/configuration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ impl Default for KademliaConfig {
caching_max_peers: 1,
disjoint_query_paths: false,
max_kad_record_number: 2400000,
max_kad_record_size: 8192,
max_kad_record_size: 8192 * 2, // Maximum for 512 columns
max_kad_provided_keys: 1024,
operation_mode: KademliaMode::Client,
automatic_server_mode: true,
Expand Down

0 comments on commit 86f9e7a

Please sign in to comment.