firebase function, counter takes too long to update
I have implemented a counter variable in my real time database, the users are able to call the function and upon 4 calls it should run some code. The problem is that it may take too long to run and…