Fix onSnapshot to only retrieve latest updates! #217
Labels
Backend📡
Issues corresponding to the backend/API.
Hard
You should be an active contributor to work on this issue
Optimization
Changes that makes functionality faster or use less memory
So as of now, the onSnapshot listener in the backend listens to the message collections after
Date.now()
which ends up listening for EVERY message after a that query. Therefore, we must look into pagination and sorting/pre-processing to optimize message send times!This issue is currently being worked on by @AlexanderWangY. Reach out if you feel like you can help out!
The text was updated successfully, but these errors were encountered: