diff --git a/src/ripple/peerfinder/impl/Tuning.h b/src/ripple/peerfinder/impl/Tuning.h index 3fea49a94..47c3a775e 100644 --- a/src/ripple/peerfinder/impl/Tuning.h +++ b/src/ripple/peerfinder/impl/Tuning.h @@ -129,7 +129,8 @@ enum { }; // How often we send or accept mtENDPOINTS messages per peer -static std::chrono::seconds const secondsPerMessage(5); +// (we use a prime number of purpose) +static std::chrono::seconds const secondsPerMessage(61); // How long an Endpoint will stay in the cache // This should be a small multiple of the broadcast frequency diff --git a/src/test/unit_test/SuiteJournal.h b/src/test/unit_test/SuiteJournal.h index 74b03b71a..6c7a0b54e 100644 --- a/src/test/unit_test/SuiteJournal.h +++ b/src/test/unit_test/SuiteJournal.h @@ -98,7 +98,7 @@ public: : sink_(partition, threshold, suite), journal_(sink_) { } - operator beast::Journal &() + operator beast::Journal&() { return journal_; }