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
It would be useful to have the option to configure coreSize and keepAlive values in ThreadPoolExecutorConfig passed to the blocking executor during its creation via ExecutorModule make methods.
Since by default the coreSize is set to 0 and the keepAlive to 1000 millis, there might be a large number of blocking threads created and closed if a program schedules repeated task to blocking executor with interval higher than the keepAlive.
It would be nice to add these parameters to the existing methods with default values set to the current value either directly or wrapped in the ThreadPoolExecutorConfig.
The text was updated successfully, but these errors were encountered:
It would be useful to have the option to configure
coreSize
andkeepAlive
values inThreadPoolExecutorConfig
passed to the blocking executor during its creation via ExecutorModule make methods.Since by default the
coreSize
is set to 0 and thekeepAlive
to 1000 millis, there might be a large number of blocking threads created and closed if a program schedules repeated task to blocking executor with interval higher than the keepAlive.It would be nice to add these parameters to the existing methods with default values set to the current value either directly or wrapped in the
ThreadPoolExecutorConfig
.The text was updated successfully, but these errors were encountered: