mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +00:00
Remove unused io_service
This commit is contained in:
@@ -6,11 +6,10 @@
|
|||||||
|
|
||||||
SETUP_LOG (JobQueue)
|
SETUP_LOG (JobQueue)
|
||||||
|
|
||||||
JobQueue::JobQueue (boost::asio::io_service& svc)
|
JobQueue::JobQueue ()
|
||||||
: mLastJob (0)
|
: mLastJob (0)
|
||||||
, mThreadCount (0)
|
, mThreadCount (0)
|
||||||
, mShuttingDown (false)
|
, mShuttingDown (false)
|
||||||
, mIOService (svc)
|
|
||||||
{
|
{
|
||||||
mJobLoads [ jtPUBOLDLEDGER ].setTargetLatency (10000, 15000);
|
mJobLoads [ jtPUBOLDLEDGER ].setTargetLatency (10000, 15000);
|
||||||
mJobLoads [ jtVALIDATION_ut ].setTargetLatency (2000, 5000);
|
mJobLoads [ jtVALIDATION_ut ].setTargetLatency (2000, 5000);
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
class JobQueue
|
class JobQueue
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit JobQueue (boost::asio::io_service&);
|
JobQueue ();
|
||||||
|
|
||||||
// VFALCO TODO make convenience functions that allow the caller to not
|
// VFALCO TODO make convenience functions that allow the caller to not
|
||||||
// have to call bind.
|
// have to call bind.
|
||||||
@@ -57,8 +57,6 @@ private:
|
|||||||
int mThreadCount;
|
int mThreadCount;
|
||||||
bool mShuttingDown;
|
bool mShuttingDown;
|
||||||
|
|
||||||
boost::asio::io_service& mIOService;
|
|
||||||
|
|
||||||
std::map<JobType, std::pair<int, int > > mJobCounts;
|
std::map<JobType, std::pair<int, int > > mJobCounts;
|
||||||
|
|
||||||
bool getJob (Job& job);
|
bool getJob (Job& job);
|
||||||
|
|||||||
Reference in New Issue
Block a user