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)
|
||||
|
||||
JobQueue::JobQueue (boost::asio::io_service& svc)
|
||||
JobQueue::JobQueue ()
|
||||
: mLastJob (0)
|
||||
, mThreadCount (0)
|
||||
, mShuttingDown (false)
|
||||
, mIOService (svc)
|
||||
{
|
||||
mJobLoads [ jtPUBOLDLEDGER ].setTargetLatency (10000, 15000);
|
||||
mJobLoads [ jtVALIDATION_ut ].setTargetLatency (2000, 5000);
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
class JobQueue
|
||||
{
|
||||
public:
|
||||
explicit JobQueue (boost::asio::io_service&);
|
||||
JobQueue ();
|
||||
|
||||
// VFALCO TODO make convenience functions that allow the caller to not
|
||||
// have to call bind.
|
||||
@@ -57,8 +57,6 @@ private:
|
||||
int mThreadCount;
|
||||
bool mShuttingDown;
|
||||
|
||||
boost::asio::io_service& mIOService;
|
||||
|
||||
std::map<JobType, std::pair<int, int > > mJobCounts;
|
||||
|
||||
bool getJob (Job& job);
|
||||
|
||||
Reference in New Issue
Block a user