firebase-admin-java
firebase-admin-java copied to clipboard
fix: Limit default `ThreadPoolExecutor` thread count and remove deadlock scenario
- The default thread manger now limits to 100 threads. This resolves OOM errors that come with threads used to send large amounts of FCM messages.
- Deadlock scenario in
sendEachAsync()andsendEachForMulticastAsync()is now avoided by chaining ApiFutures