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
This snippet will raise error http-4.4.1/lib/http/chainable.rb:221:in 'default_options': can not access instance variables of classes/modules from non-main Ractors (Ractor::IsolationError), because http using default_options as class instance variable.
Is it possible to make it support Ractor?
The text was updated successfully, but these errors were encountered:
zt2
changed the title
Ruby 3 Ractor support?
[Feature] Ruby 3 Ractor support?
Jan 22, 2021
Ruby 3 support
Ractor
to archive concurrency,Ractor
can not access instance variables of classes/modules.When I want to use
Ractor
withhttp
, I foundhttp
is using access instance variables of classes, for example:This snippet will raise error
http-4.4.1/lib/http/chainable.rb:221:in 'default_options': can not access instance variables of classes/modules from non-main Ractors (Ractor::IsolationError)
, becausehttp
usingdefault_options
as class instance variable.Is it possible to make it support
Ractor
?The text was updated successfully, but these errors were encountered: