mirror of
https://github.com/XRPLF/rippled.git
synced 2026-10-03 10:18:26 +00:00
Revert "Apply transaction batches in periodic intervals (#4504)"
This reverts commit b580049ec0.
This commit is contained in:
@@ -802,8 +802,7 @@ transactionSubmit(
|
||||
Role role,
|
||||
std::chrono::seconds validatedLedgerAge,
|
||||
Application& app,
|
||||
ProcessTransactionFn const& processTransaction,
|
||||
RPC::SubmitSync sync)
|
||||
ProcessTransactionFn const& processTransaction)
|
||||
{
|
||||
using namespace detail;
|
||||
|
||||
@@ -829,7 +828,8 @@ transactionSubmit(
|
||||
// Finally, submit the transaction.
|
||||
try
|
||||
{
|
||||
processTransaction(txn.second, isUnlimited(role), sync, failType);
|
||||
// FIXME: For performance, should use asynch interface
|
||||
processTransaction(txn.second, isUnlimited(role), true, failType);
|
||||
}
|
||||
catch (std::exception&)
|
||||
{
|
||||
@@ -1038,8 +1038,7 @@ transactionSubmitMultiSigned(
|
||||
Role role,
|
||||
std::chrono::seconds validatedLedgerAge,
|
||||
Application& app,
|
||||
ProcessTransactionFn const& processTransaction,
|
||||
RPC::SubmitSync sync)
|
||||
ProcessTransactionFn const& processTransaction)
|
||||
{
|
||||
auto const& ledger = app.openLedger().current();
|
||||
auto j = app.journal("RPCHandler");
|
||||
@@ -1212,7 +1211,7 @@ transactionSubmitMultiSigned(
|
||||
try
|
||||
{
|
||||
// FIXME: For performance, should use asynch interface
|
||||
processTransaction(txn.second, isUnlimited(role), sync, failType);
|
||||
processTransaction(txn.second, isUnlimited(role), true, failType);
|
||||
}
|
||||
catch (std::exception&)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user