What can I do to stop reaching my quota so quickly in firestore 9

Viewed 14

I have been having an issue with reaching my quota of 50k reads per day. Currently, when I start a test server, I can only access the data for maybe 20 minutes before my quota is reached. I added a ton of console logs throughout my project to see which part was running infinitely, but I don't know how to stop it from looping. This is the code that is looping, getDocs and onSnapshot functions, regardless of which one I use it still runs in a loop. Any idea of how to stop this?

0 Answers
Related