firebase-admin-java icon indicating copy to clipboard operation
firebase-admin-java copied to clipboard

fix: Limit default `ThreadPoolExecutor` thread count and remove deadlock scenario

Open jonathanedey opened this issue 1 year ago • 0 comments

  • 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() and sendEachForMulticastAsync() is now avoided by chaining ApiFutures

jonathanedey avatar Aug 27 '24 14:08 jonathanedey