Skip to content

Commit 9e69e67

Browse files
author
Stephen Asbury
committed
Minor doc change.
1 parent 07384c6 commit 9e69e67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/nats/client/Connection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ public enum Status {
242242
* messages have reached the server.
243243
* Finally the connection is closed.
244244
*
245-
* In order to drain subscribers, an unsub is sent to the server followed by a flush.
245+
* In order to drain subscribers, an unsub protocol message is sent to the server followed by a flush.
246246
* These two steps occur before drain returns. The remaining steps occur in a background thread.
247247
* This method tries to manage the timeout properly, so that if the timeout is 1 second, and the flush
248248
* takes 100ms, the remaining steps have 900ms in the background thread.

0 commit comments

Comments
 (0)