Skip to content

Commit

Permalink
Merge branch 'refs/heads/main' into list-subject-improve-java
Browse files Browse the repository at this point in the history
  • Loading branch information
scottf committed Jul 11, 2024
2 parents 7e3f8bf + ceaaa0f commit 6236a2f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/jetstream/limits-stream/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func main() {
// Create an unauthenticated connection to NATS.
nc, _ := nats.Connect(url)

// Drain is a safe way to to ensure all buffered messages that were published
// Drain is a safe way to ensure all buffered messages that were published
// are sent and all buffered messages received on a subscription are processed
// before closing the connection.
defer nc.Drain()
Expand Down
2 changes: 1 addition & 1 deletion examples/messaging/pub-sub/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func main() {
// Create an unauthenticated connection to NATS.
nc, _ := nats.Connect(url)

// Drain is a safe way to to ensure all buffered messages that were published
// Drain is a safe way to ensure all buffered messages that were published
// are sent and all buffered messages received on a subscription are processed
// before closing the connection.
defer nc.Drain()
Expand Down
2 changes: 1 addition & 1 deletion examples/topologies/simple-leafnode/cli/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ sleep 1

# Let's try out a request that is performed by a client connecting
# to the leaf node. As expected, this will get routed to the service
# connected to to the main server.
# connected to the main server.
nats --context leaf request 'greet' ''

# Let's start another service connected to the leaf node servicing
Expand Down

0 comments on commit 6236a2f

Please sign in to comment.