From 0eb46d0d49dee47a30be58d56f5c2b1f62800f9a Mon Sep 17 00:00:00 2001 From: Richard Holland Date: Mon, 9 Dec 2024 19:44:35 +1100 Subject: [PATCH] remove debug msg from jobqueue, adjust ledger stress parameters --- src/ripple/app/main/Application.cpp | 1 - src/test/app/LedgerStress_test.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ripple/app/main/Application.cpp b/src/ripple/app/main/Application.cpp index 835ba0d04..259a3c4c0 100644 --- a/src/ripple/app/main/Application.cpp +++ b/src/ripple/app/main/Application.cpp @@ -326,7 +326,6 @@ public: }; int threads = f(); - std::cout << "JobQueue thread count: " << threads << "\n"; return threads; }(config_), m_collectorManager->group("jobq"), diff --git a/src/test/app/LedgerStress_test.cpp b/src/test/app/LedgerStress_test.cpp index d58a841ea..ab314b456 100644 --- a/src/test/app/LedgerStress_test.cpp +++ b/src/test/app/LedgerStress_test.cpp @@ -21,7 +21,7 @@ class LedgerStress_test : public beast::unit_test::suite { private: static constexpr std::size_t TXN_PER_LEDGER = 10000; - static constexpr std::size_t MAX_TXN_PER_ACCOUNT = 5; // Increased from 1 + static constexpr std::size_t MAX_TXN_PER_ACCOUNT = 2; // Increased from 1 static constexpr std::chrono::seconds MAX_CLOSE_TIME{6}; static constexpr std::size_t REQUIRED_ACCOUNTS = (TXN_PER_LEDGER + MAX_TXN_PER_ACCOUNT - 1) / MAX_TXN_PER_ACCOUNT;