diff options
author | Samuel Williams <[email protected]> | 2024-04-07 19:18:09 +1200 |
---|---|---|
committer | GitHub <[email protected]> | 2024-04-07 19:18:09 +1200 |
commit | dfa0897de89251a631a67460b941cd24a14c9b55 (patch) | |
tree | 24085e60ad77c13ca6fd0ba4903795704a4aea8d /cont.c | |
parent | eaa6e4b22862a31c9595d052f7c63ce997a95d68 (diff) |
Enumerator should use a non-blocking fiber. (#10478)
Diffstat (limited to 'cont.c')
-rw-r--r-- | cont.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2382,7 +2382,7 @@ rb_fiber_initialize(int argc, VALUE* argv, VALUE self) VALUE rb_fiber_new_storage(rb_block_call_func_t func, VALUE obj, VALUE storage) { - return fiber_initialize(fiber_alloc(rb_cFiber), rb_proc_new(func, obj), rb_fiber_pool_default(Qnil), 1, storage); + return fiber_initialize(fiber_alloc(rb_cFiber), rb_proc_new(func, obj), rb_fiber_pool_default(Qnil), 0, storage); } VALUE |