You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yup, I love that I can create a thread pool of my choice, and it just works.
I was thinking of the library defaults. If that's something you don't think shouldn't change, we can add an example and a section in the documentation.
com.climate.claypoole/threadpool creates an instance of ScheduledThreadPoolExecutor
It uses an unbounded queue which leads a silent accrue leading to exhaustion of resources.
Also we don't get finer control over what should be done when pool and queue are exhausted.
Proposed solution,
** queue size
** Selecting different policies. ie AbortPolicy, CallerRunsPolicy
The text was updated successfully, but these errors were encountered: