Monitor cluster load.

This commit is contained in:
JoelKatz
2013-07-10 13:19:39 -07:00
parent ea7730a419
commit ec498bf2d2
3 changed files with 17 additions and 5 deletions

View File

@@ -77,7 +77,7 @@ public:
uint32 getLoadFactor ()
{
boost::mutex::scoped_lock sl (mLock);
return std::max (mLocalTxnLoadFee, mRemoteTxnLoadFee);
return std::max(mClusterTxnLoadFee, std::max (mLocalTxnLoadFee, mRemoteTxnLoadFee));
}
void setClusterFee (uint32 fee)