mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Add timer start param to Application (RIPD 1405):
Modify doStart Application method to specify whether or not to start the DeadlineTimers. Specify inactive timers for jtx::Env Applications and active timers for standard Applications.
This commit is contained in:
committed by
Scott Schurr
parent
7265729446
commit
95aebfc38c
@@ -143,7 +143,7 @@ Env::AppBundle::AppBundle(beast::unit_test::suite& suite,
|
||||
Throw<std::runtime_error> ("Env::AppBundle: setup failed");
|
||||
timeKeeper->set(
|
||||
app->getLedgerMaster().getClosedLedger()->info().closeTime);
|
||||
app->doStart();
|
||||
app->doStart(false /*don't start timers*/);
|
||||
thread = std::thread(
|
||||
[&](){ app->run(); });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user