lib/opentok/client.rb in opentok-2.3.0 vs lib/opentok/client.rb in opentok-2.3.2
- old
+ new
@@ -7,10 +7,10 @@
module OpenTok
# @private For internal use by the SDK.
class Client
include HTTParty
- default_timeout 1 # Set HTTParty default timeout (open/read) to 1 second
+ open_timeout 2 # Set HTTParty default timeout (open/read) to 2 seconds
# TODO: expose a setting for http debugging for developers
# debug_output $stdout
def initialize(api_key, api_secret, api_url)