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
According to Ruby documentation, calling Timeout.timeout with a nil or zero value will execute the block without any timeout. However, Polyphony does not support this:
irb(main):001:0> Timeout.timeout(nil){puts"foo"}/usr/local/bundle/gems/polyphony-1.4/lib/polyphony/extensions/object.rb:64:in`backend_timeout': no implicit conversion to float from nil (TypeError) Polyphony.backend_timeout(interval, with_exception, &block) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ from /usr/local/bundle/gems/polyphony-1.4/lib/polyphony/extensions/object.rb:64:in `cancel_after' from /usr/local/bundle/gems/polyphony-1.4/lib/polyphony/extensions/timeout.rb:17:in `timeout'from(irb):1:in`<main>' from bin/console:13:in `<main>'
The text was updated successfully, but these errors were encountered:
According to Ruby documentation, calling
Timeout.timeout
with a nil or zero value will execute the block without any timeout. However, Polyphony does not support this:The text was updated successfully, but these errors were encountered: