proxy to broker leader

This commit is contained in:
Chris Lu
2024-02-05 18:00:50 -08:00
parent 90fcde0e26
commit 656b78d1af
6 changed files with 5 additions and 26 deletions

View File

@@ -122,10 +122,6 @@ func (lock *LiveLock) AttemptToLock(lockDuration time.Duration) error {
return nil
}
func (lock *LiveLock) IsLocked() bool {
return lock != nil && lock.isLocked
}
func (lock *LiveLock) StopShortLivedLock() error {
if !lock.isLocked {
return nil