mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Remove unused member LoadManager::getUptime
This commit is contained in:
@@ -324,12 +324,6 @@ Json::Value LoadFeeTrack::getJson(uint64 baseFee, uint32 referenceFeeUnits)
|
||||
return j;
|
||||
}
|
||||
|
||||
int LoadManager::getUptime()
|
||||
{
|
||||
boost::mutex::scoped_lock sl(mLock);
|
||||
return mUptime;
|
||||
}
|
||||
|
||||
static void LogDeadLock(int dlTime)
|
||||
{
|
||||
WriteLog (lsWARNING, LoadManager) << "Server stalled for " << dlTime << " seconds.";
|
||||
|
||||
@@ -142,7 +142,6 @@ public:
|
||||
void logDisconnect(const std::string&) const;
|
||||
|
||||
int getCost(LoadType t) { return mCosts[static_cast<int>(t)].mCost; }
|
||||
int getUptime();
|
||||
void noDeadLock();
|
||||
void arm() { mArmed = true; }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user