debate-map / app

Monorepo for the client, server, etc. of the Debate Map website.
https://debatemap.app
MIT License
73 stars 16 forks source link

Restore database -> subscriptions page (using queries rather than subscriptions, and with pagination) #333

Open Venryx opened 1 month ago

Venryx commented 1 month ago

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)

Venryx commented 2 weeks ago

Task: Create a new graphql "subscriptions" query endpoint (leave the existing subscription endpoint unchanged).

Details: