M. J. Fromberger
9994396e59
If a subscriber arrives while the pubsub service is shutting down, the existing code will return a nil subscription without error. With unlucky timing, this may lead to a nil indirection panic in the RPC service. To avoid that problem, make sure that when a subscription fails for this reason, we report a non-nil error so that the client will detect it and give up gracefully. |
3 years ago | |
---|---|---|
.. | ||
query | change use of errors.Wrap to fmt.Errorf with %w verb | 5 years ago |
example_test.go | lint: errcheck (#5091) | 4 years ago |
pubsub.go | pubsub: Report a non-nil error when shutting down. (#7309) | 3 years ago |
pubsub_test.go | fix lint failures with 1.31 (#5489) | 4 years ago |
subscription.go | rpc: Add experimental config params to allow for subscription buffer size control (tm v0.34.x) (#7230) | 3 years ago |