Skip to content

Commit e1046fd

Browse files
committed
fix: use get_poll_time()
1 parent f5df7ef commit e1046fd

File tree

1 file changed

+1
-2
lines changed
  • testnet/stacks-node/src/nakamoto_node

1 file changed

+1
-2
lines changed

testnet/stacks-node/src/nakamoto_node/peer.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,7 @@ impl PeerThread {
190190
info!("`PeerNetwork::bind()` skipped, already bound");
191191
}
192192

193-
let poll_timeout = cmp::min(1000, config.miner.first_attempt_time_ms / 2);
194-
193+
let poll_timeout = config.get_poll_time();
195194
PeerThread {
196195
config,
197196
net,

0 commit comments

Comments
 (0)