lib/avatax/configuration.rb in avatax-20.12.1 vs lib/avatax/configuration.rb in avatax-21.1.2
- old
+ new
@@ -27,10 +27,10 @@
DEFAULT_MACHINE_NAME = nil
DEFAULT_ENDPOINT = 'https://rest.avatax.com'
DEFAULT_USER_AGENT = "AvaTax Ruby Gem #{AvaTax::VERSION}".freeze
DEFAULT_USERNAME = nil
DEFAULT_PASSWORD = nil
- DEFAULT_CONNECTION_OPTIONS = {}
+ DEFAULT_CONNECTION_OPTIONS = {request: {timeout: 1200}} # timeout in seconds
DEFAULT_LOGGER = false
DEFAULT_CUSTOM_LOGGER = nil
DEFAULT_CUSTOM_LOGGER_OPTIONS = {}
DEFAULT_PROXY = nil
DEFAULT_FARADAY_RESPONSE = false