Skip to content

rpc server: Subscription buffer limit exceeded #4184

@stakeworld

Description

@stakeworld

I'm not sure if it is a bug or intended behaviour; sometimes i'm getting:
Subscription buffer limit=16 exceeded for subscription=state_storage conn_id=(...); dropping subscription
on my public rpc server nodes. I cannot find were the limit=16 comes from. I can find some limits in:

https://github.com/paritytech/jsonrpsee/blob/master/client/ws-client/src/lib.rs

max_concurrent_requests: 256,
max_buffer_capacity_per_subscription: 1024,

or
https://github.com/paritytech/jsonrpsee/blob/master/client/http-client/src/client.rs

max_concurrent_requests: 256,

were I notice that the http-client version does not have a max_buffer_capacity_per_subscription element. And there is not a limit of 16 somewere.

Anyone knows if i'm missing a setting somewere or if the error is a problem at all?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions