From 750bf158edf6f28794ac3e57976e54d355e09b50 Mon Sep 17 00:00:00 2001 From: Rob Mulholand Date: Thu, 20 Jun 2019 16:06:14 -0500 Subject: [PATCH] rpc: update docs on max client subscription buffer - reflect updated maxClientSubscriptionBuffer defined in 1836366ac19e30f157570e61342fae53bc6c8a57 --- rpc/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpc/client.go b/rpc/client.go index 16511747fa..2053f54069 100644 --- a/rpc/client.go +++ b/rpc/client.go @@ -412,7 +412,7 @@ func (c *Client) ShhSubscribe(ctx context.Context, channel interface{}, args ... // The context argument cancels the RPC request that sets up the subscription but has no // effect on the subscription after Subscribe has returned. // -// Slow subscribers will be dropped eventually. Client buffers up to 8000 notifications +// Slow subscribers will be dropped eventually. Client buffers up to 20000 notifications // before considering the subscriber dead. The subscription Err channel will receive // ErrSubscriptionQueueOverflow. Use a sufficiently large buffer on the channel or ensure // that the channel usually has at least one reader to prevent this issue.