Skip to content

Commit 0f4849b

Browse files
committed
Set max fast sync overlay clients to 5
1 parent 75ff7e6 commit 0f4849b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

validator/full-node.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ class FullNode : public td::actor::Actor {
117117
}
118118
enum { broadcast_mode_public = 1, broadcast_mode_private_block = 2, broadcast_mode_custom = 4 };
119119

120-
static constexpr td::int32 MAX_FAST_SYNC_OVERLAY_CLIENTS = 5000; // TODO: set lower limit (high limit for testing)
120+
static constexpr td::int32 MAX_FAST_SYNC_OVERLAY_CLIENTS = 5;
121121

122122
static td::actor::ActorOwn<FullNode> create(
123123
ton::PublicKeyHash local_id, adnl::AdnlNodeIdShort adnl_id, FileHash zero_state_file_hash, FullNodeOptions opts,

0 commit comments

Comments
 (0)