Reduce JobQueue interface

This commit is contained in:
Scott Schurr
2017-04-28 18:46:19 -07:00
committed by Nik Bougalis
parent aa2ff00485
commit 1a238048d5
9 changed files with 14 additions and 46 deletions

View File

@@ -838,7 +838,7 @@ void NetworkOPsImp::submitTransaction (std::shared_ptr<STTx const> const& iTrans
void NetworkOPsImp::processTransaction (std::shared_ptr<Transaction>& transaction,
bool bUnlimited, bool bLocal, FailHard failType)
{
auto ev = m_job_queue.getLoadEventAP (jtTXN_PROC, "ProcessTXN");
auto ev = m_job_queue.makeLoadEvent (jtTXN_PROC, "ProcessTXN");
auto const newFlags = app_.getHashRouter ().getFlags (transaction->getID ());
if ((newFlags & SF_BAD) != 0)