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 | 89e984d93bac087e3a84013fc006690177cdad5f (diff) | |
| download | monzero-core-ff7fdf6db2534d243beefaea6a4c1be10b634a34.tar.gz monzero-core-ff7fdf6db2534d243beefaea6a4c1be10b634a34.tar.xz monzero-core-ff7fdf6db2534d243beefaea6a4c1be10b634a34.zip | |
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; |
