chargebee / chargebee-ruby

Ruby library for the Chargebee API.

Home Page:https://apidocs.chargebee.com/docs/api?lang=ruby

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make HTTP timeout configurable

timkaechele opened this issue · comments

Description

After the recent availability problems of the ChargeBee service, I had problems in my own service that relies on chargebee due to the long timeouts set in the ChargeBee ruby client. Therefore I would like to propose that the SDK allows a user to specify to set their own HTTP timeout limits as a configuration parameter.

Already provision made to configure HTTP timeout. This has been merged in v2.11.0. You can set own http connect and read timeouts using ChargeBee.update_connect_timeout_secs() and ChargeBee.update_read_timeout_secs().