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
In 455203e, the RubySingleThreadExecutor implementation was updated to use the generic RubyThreadPoolExecutor. With that change, the previously included SerialExecutorService module was removed, resulting in RubySingleThreadExecutor#serialized? now returning false.
I'm wondering if that is actually correct, given that we still have exactly one thread which executes a single task at a time which is pop'ed from the queue serially?
Shouldn't the module be included again, or more generally: shouldn't RubyThreadPoolExecutor#serialized? always return true if its max_threads is <= 1?
The text was updated successfully, but these errors were encountered:
In 455203e, the
RubySingleThreadExecutor
implementation was updated to use the genericRubyThreadPoolExecutor
. With that change, the previously includedSerialExecutorService
module was removed, resulting inRubySingleThreadExecutor#serialized?
now returningfalse
.I'm wondering if that is actually correct, given that we still have exactly one thread which executes a single task at a time which is pop'ed from the queue serially?
Shouldn't the module be included again, or more generally: shouldn't
RubyThreadPoolExecutor#serialized?
always return true if itsmax_threads
is <= 1?The text was updated successfully, but these errors were encountered: