Table of Contents

Property DrainPingTimeout

Namespace
NATS.Client.Core
Assembly
NATS.Client.Core.dll

DrainPingTimeout

Per-subscription PING/PONG timeout used during drain on dispose. (default: 5 seconds)

public TimeSpan DrainPingTimeout { get; init; }

Property Value

TimeSpan

Remarks

Bounds how long drain will wait for the server to ack the UNSUB before completing the user channel anyway. Increase for high-latency networks where a single round-trip can exceed the default. Only effective when DrainSubscriptionsOnDispose is true.