mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
Fix load manager buglets.
This commit is contained in:
@@ -152,7 +152,7 @@ bool LoadManager::shouldCutoff(LoadSource& source) const
|
||||
boost::mutex::scoped_lock sl(mLock);
|
||||
int now = upTime();
|
||||
canonicalize(source, now);
|
||||
if (!source.isPrivileged() || (source.mBalance > mDebitLimit))
|
||||
if (source.isPrivileged() || (source.mBalance > mDebitLimit))
|
||||
return false;
|
||||
}
|
||||
logDisconnect(source.getName());
|
||||
|
||||
Reference in New Issue
Block a user