Move some operations from the I/O queue to the Job queue

This commit is contained in:
JoelKatz
2014-01-07 12:14:34 -08:00
committed by Vinnie Falco
parent e25a83bb39
commit 1e5963aeeb
5 changed files with 14 additions and 17 deletions

View File

@@ -740,8 +740,7 @@ void NetworkOPsImp::submitTransaction (Job&, SerializedTransaction::pointer iTra
}
}
// FIXME: Should submit to job queue
getApp().getIOService ().post (boost::bind (&NetworkOPsImp::processTransaction, this,
getApp().getJobQueue().addJob (jtTRANSACTION, "submitTxn", boost::bind (&NetworkOPsImp::processTransaction, this,
boost::make_shared<Transaction> (trans, false), false, false, callback));
}