diff --git a/src/ripple/app/ledger/impl/InboundLedger.cpp b/src/ripple/app/ledger/impl/InboundLedger.cpp index c0862ab470..288b667b8c 100644 --- a/src/ripple/app/ledger/impl/InboundLedger.cpp +++ b/src/ripple/app/ledger/impl/InboundLedger.cpp @@ -53,9 +53,6 @@ enum // how many timeouts before we get aggressive ,ledgerBecomeAggressiveThreshold = 6 - // How many nodes to consider a fetch "small" - ,fetchSmallNodes = 32 - // Number of nodes to find initially ,missingNodesFind = 256 @@ -611,11 +608,6 @@ void InboundLedger::trigger (Peer::ptr const& peer, TriggerReason reason) * (tmGL.add_nodeids ()) = id.getRawString (); } - // If we're not querying for a lot of entries, - // query extra deep - if (nodeIDs.size() <= fetchSmallNodes) - tmGL.set_querydepth (tmGL.querydepth() + 1); - if (m_journal.trace) m_journal.trace << "Sending AS node " << nodeIDs.size () << " request to " << (