Skip to content

Commit

Permalink
rpc: fix a comment typo
Browse files Browse the repository at this point in the history
  • Loading branch information
xincaosu committed Jun 11, 2018
1 parent ea06da0 commit 9ceb25c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpc/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func (s *Server) serveRequest(ctx context.Context, codec ServerCodec, singleShot
defer cancel()

// if the codec supports notification include a notifier that callbacks can use
// to send notification to clients. It is thight to the codec/connection. If the
// to send notification to clients. It is tied to the codec/connection. If the
// connection is closed the notifier will stop and cancels all active subscriptions.
if options&OptionSubscriptions == OptionSubscriptions {
ctx = context.WithValue(ctx, notifierKey{}, newNotifier(codec))
Expand Down

0 comments on commit 9ceb25c

Please sign in to comment.