This commit is contained in:
chrislu
2024-03-30 20:37:57 -07:00
parent 0d55bddc75
commit ca4f89a6f6
3 changed files with 4 additions and 17 deletions

View File

@@ -48,13 +48,6 @@ func (p *LocalPartitionSubscribers) SignalShutdown() {
}
}
func (p *LocalPartitionSubscribers) IsEmpty() bool {
p.SubscribersLock.RLock()
defer p.SubscribersLock.RUnlock()
return len(p.Subscribers) == 0
}
func (p *LocalPartitionSubscribers) Size() int {
p.SubscribersLock.RLock()
defer p.SubscribersLock.RUnlock()