Open reimai opened 2 years ago
@reimai Thanks for reporting! What would be really helpful is if you create a minimal application that reproduces this problem. That would help us fix it.
We disabled work stealing for now which should hopefully take care of this issue.
Hi,
in my zio app I'm reusing zio's executor as a grpc server executor. And the grpc service runs zio effects via zio.Unsafe. After an upgrade 2.0.2 -> 2.0.3 this started causing constant StackOverflows with a stack like this:
which looks like an infinite recursion of work stealing. Not providing zio's executor to grpc server or turnning off work stealing via
ZIO.withRuntimeFlagsScoped(RuntimeFlags.disable(RuntimeFlag.WorkStealing))
solves the problem.Could this issue be solved or should I just avoid executing other code on zio's executor?