task4: implement batch38 group C ack and delivery state
This commit is contained in:
@@ -134,17 +134,6 @@ internal sealed partial class NatsConsumer
|
||||
|
||||
internal bool HasDeliveryInterest()
|
||||
{
|
||||
_mu.EnterReadLock();
|
||||
try
|
||||
{
|
||||
if (_closed || string.IsNullOrWhiteSpace(Config.DeliverSubject))
|
||||
return false;
|
||||
|
||||
return _internalSubscriptions.Contains(Config.DeliverSubject!);
|
||||
}
|
||||
finally
|
||||
{
|
||||
_mu.ExitReadLock();
|
||||
}
|
||||
return HasDeliveryInterest(_hasLocalDeliveryInterest);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user