Skip to content

Commit

Permalink
Bump local block queue size to 8k elements
Browse files Browse the repository at this point in the history
  • Loading branch information
pwojcikdev committed Mar 5, 2024
1 parent 33bf1db commit 5a775d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nano/node/local_block_broadcaster.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class local_block_broadcaster
std::thread thread;

// TODO: Make these configurable
static std::size_t constexpr max_size{ 1024 };
static std::size_t constexpr max_size{ 1024 * 8 };
static std::chrono::seconds constexpr check_interval{ 30 };
static std::chrono::seconds constexpr broadcast_interval{ 60 };
static std::size_t constexpr broadcast_rate_limit{ 32 };
Expand Down

0 comments on commit 5a775d5

Please sign in to comment.