Open Venryx opened 1 month ago
Task: Create a new graphql "subscriptions" query endpoint (leave the existing subscription endpoint unchanged).
Details:
limit
: [integer] The size of the result-set that the caller is requestingafter
: [string, or null] If provided, the result-set begins after the "subscription" entry with the given id (the "id" column in the "subscriptions" table), to be used for pagination.
We had to move away from using subscriptions / live-queries, because the subscriptions table just has way too many rows. (it was causing the app-server to crash, with over 90,000 subscriptions for a user who imported lots of nodes and was thus auto-subscribed to them all)