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

@@ -44,13 +44,6 @@ func (p *LocalPartitionPublishers) SignalShutdown() {
}
}
func (p *LocalPartitionPublishers) IsEmpty() bool {
p.publishersLock.RLock()
defer p.publishersLock.RUnlock()
return len(p.publishers) == 0
}
func (p *LocalPartitionPublishers) Size() int {
p.publishersLock.RLock()
defer p.publishersLock.RUnlock()