mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
Revert "Apply transaction batches in periodic intervals (#4504)"
This reverts commit b580049ec0.
This commit is contained in:
@@ -15,7 +15,6 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#include <ripple/app/misc/NetworkOPs.h>
|
||||
#include <ripple/core/JobQueue.h>
|
||||
#include <ripple/protocol/ErrorCodes.h>
|
||||
#include <test/jtx.h>
|
||||
@@ -92,7 +91,6 @@ struct Transaction_ordering_test : public beast::unit_test::suite
|
||||
env(tx2, ter(terPRE_SEQ));
|
||||
BEAST_EXPECT(env.seq(alice) == aliceSequence);
|
||||
env(tx1);
|
||||
BEAST_EXPECT(env.app().getOPs().transactionBatch(false));
|
||||
env.app().getJobQueue().rendezvous();
|
||||
BEAST_EXPECT(env.seq(alice) == aliceSequence + 2);
|
||||
|
||||
@@ -145,8 +143,6 @@ struct Transaction_ordering_test : public beast::unit_test::suite
|
||||
}
|
||||
|
||||
env(tx[0]);
|
||||
// Apply until no more deferred/held transactions.
|
||||
BEAST_EXPECT(env.app().getOPs().transactionBatch(true));
|
||||
env.app().getJobQueue().rendezvous();
|
||||
BEAST_EXPECT(env.seq(alice) == aliceSequence + 5);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user