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
I understand that ActiveResource is internally based on Net::HTTP, which should have a read_timeout of 60 seconds. However, this change will help to fail-fast rather than have an ActiveResource call wait for a long time.
The text was updated successfully, but these errors were encountered:
Is it possible to make use of the
timeout
setting available viaActiveResource
?Adding
self.timeout = 5
(or similar value) at lib/shopify_api/resources/base.rb should help.I understand that ActiveResource is internally based on
Net::HTTP
, which should have aread_timeout
of 60 seconds. However, this change will help to fail-fast rather than have anActiveResource
call wait for a long time.The text was updated successfully, but these errors were encountered: