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
Could you please add this to the documentation (README.md#pool), to help future
users avoid hair loss trying to understand why the pool is stopping in the middle of execution!!
To see exceptions in threads (in case of buggy code) add the following in the beginning of your code
Thread::Pool.abort_on_exception = true
Activity
nspence commentedon Aug 16, 2018
This would have saved me time, please do add it.
run27017 commentedon Aug 7, 2020
However, if I add it, the program will not abort when encounter an exception.
tdxius commentedon Apr 18, 2021
You need to add the code below to get some kind of output of the exception.