mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Incremental improvements to path finding memory usage:
* Abort background path finding when closed or disconnected * Exit pathfinding job thread if there are no requests left * Don't bother creating the path find job if there are no requests * Refactor to remove circular dependency between InfoSub and PathRequest
This commit is contained in:
committed by
Nik Bougalis
parent
4d5459d041
commit
e7e672c3f8
@@ -35,6 +35,9 @@ class GetCounts_test : public beast::unit_test::suite
|
||||
|
||||
Json::Value result;
|
||||
{
|
||||
using namespace std::chrono_literals;
|
||||
// Add a little delay so the App's "uptime" will have a value.
|
||||
std::this_thread::sleep_for(1s);
|
||||
// check counts with no transactions posted
|
||||
result = env.rpc("get_counts")[jss::result];
|
||||
BEAST_EXPECT(result[jss::status] == "success");
|
||||
|
||||
Reference in New Issue
Block a user