When I deployed my cloud functions today, I hit this error:
functions: too many functions are being deployed, cannot poll status.
After reading firebase documents, I found that the root cause should be the API call (write) limit which only allows us to simultaneously deploy 80 functions per 100 seconds.
And after reading another document about partial deployment, I concluded that we could have the following solutions:
1. Only deploy the changed functions. But it's not easy to track all functions that are changed esp when we have a team of developers collaboratively implement at the same time.
2. Group functions into export groups in index.js file. This seems not the best solution too and sooner or later the group will reach the limit again and then we have to create new groups.
So I want to know is there any better solutions to solve this problem?
Thanks