Skip to content

Commit 82aaa93

Browse files
committedMay 30, 2018
fix spell err
1 parent ad2e6a2 commit 82aaa93

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed
 

‎src/algorithm/committer.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ void Committer :: SetTimeoutMs(const int iTimeoutMs)
150150

151151
void Committer :: SetMaxHoldThreads(const int iMaxHoldThreads)
152152
{
153-
m_oWaitLock.SetMaxWaitLogCount(iMaxHoldThreads);
153+
m_oWaitLock.SetMaxWaitLockCount(iMaxHoldThreads);
154154
}
155155

156156
void Committer :: SetProposeWaitTimeThresholdMS(const int iWaitTimeThresholdMS)

‎src/ut/wait_lock_ut.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ class TooMuchLockWatingTester : public Thread
174174
TEST(WaitLock, TooMuchLockWating)
175175
{
176176
WaitLock oLock;
177-
oLock.SetMaxWaitLogCount(5);
177+
oLock.SetMaxWaitLockCount(5);
178178
int iRejectCount = 0;
179179

180180
std::vector<TooMuchLockWatingTester *> vecTester;

‎src/utils/wait_lock.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ void WaitLock :: RefleshRejectRate(const int iUseTimeMs)
8888
}
8989
}
9090

91-
void WaitLock :: SetMaxWaitLogCount(const int iMaxWaitLockCount)
91+
void WaitLock :: SetMaxWaitLockCount(const int iMaxWaitLockCount)
9292
{
9393
m_iMaxWaitLockCount = iMaxWaitLockCount;
9494
}

‎src/utils/wait_lock.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class WaitLock
3838

3939
void UnLock();
4040

41-
void SetMaxWaitLogCount(const int iMaxWaitLockCount);
41+
void SetMaxWaitLockCount(const int iMaxWaitLockCount);
4242

4343
void SetLockWaitTimeThreshold(const int iLockWaitTimeThresholdMS);
4444

0 commit comments

Comments
 (0)
Please sign in to comment.