diff options
author | moneromooo <moneromoo@nowhere.nowhere.nowhere> | 2020-12-03 13:22:52 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2020-12-06 15:57:40 +0000 |
commit | ff7fdf6db2534d243beefaea6a4c1be10b634a34 (patch) | |
tree | ad051caba84c5ea7868ed5b6270c2855bee97227 /src/cryptonote_protocol/cryptonote_protocol_handler.h | |
parent | keep only the last seen node on a given host in the white list (diff) | |
download | monero-ff7fdf6db2534d243beefaea6a4c1be10b634a34.tar.xz |
protocol: drop peers that don't reply to queries
Diffstat (limited to 'src/cryptonote_protocol/cryptonote_protocol_handler.h')
-rw-r--r-- | src/cryptonote_protocol/cryptonote_protocol_handler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_protocol/cryptonote_protocol_handler.h b/src/cryptonote_protocol/cryptonote_protocol_handler.h index 06b7f0985..ee3a67198 100644 --- a/src/cryptonote_protocol/cryptonote_protocol_handler.h +++ b/src/cryptonote_protocol/cryptonote_protocol_handler.h @@ -161,7 +161,7 @@ namespace cryptonote std::atomic<bool> m_ask_for_txpool_complement; boost::mutex m_sync_lock; block_queue m_block_queue; - epee::math_helper::once_a_time_seconds<30> m_idle_peer_kicker; + epee::math_helper::once_a_time_seconds<8> m_idle_peer_kicker; epee::math_helper::once_a_time_milliseconds<100> m_standby_checker; epee::math_helper::once_a_time_seconds<101> m_sync_search_checker; epee::math_helper::once_a_time_seconds<43> m_bad_peer_checker; |