Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

[RPC-Spec-V2] Limit chainHead_unstable_follow subscriptions #14734

Open
Tracked by #14222
lexnv opened this issue Aug 8, 2023 · 0 comments
Open
Tracked by #14222

[RPC-Spec-V2] Limit chainHead_unstable_follow subscriptions #14734

lexnv opened this issue Aug 8, 2023 · 0 comments
Assignees
Labels
J0-enhancement An additional feature request.

Comments

@lexnv
Copy link
Contributor

lexnv commented Aug 8, 2023

The JSON-RPC server must accept at least 2 chainHead_unstable_follow subscriptions per JSON-RPC client. Trying to open more might lead to a JSON-RPC error when calling chainHead_unstable_follow. In other words, as long as a JSON-RPC client starts 2 or fewer chainHead_unstable_follow subscriptions, it is guaranteed that this return value will never happen.

  • ensure that at least 2 subscriptions per RPC client are accepted by the server

// @paritytech/subxt-team

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
J0-enhancement An additional feature request.
Projects
None yet
Development

No branches or pull requests

1 participant