Skip to content
Browse files

Add default timeout options

Addresses #274 and #275.
  • Loading branch information...
1 parent f72410e commit bb8a15d60e930233050e96964823b2f569e0943f @sferik committed Jun 21, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/twitter/requestable.rb
View
2 lib/twitter/requestable.rb
@@ -35,8 +35,10 @@ def connection
:accept => 'application/json',
:user_agent => user_agent,
},
+ :open_timeout => 5,
:proxy => proxy,
:ssl => {:verify => false},
+ :timeout => 10,
}
options = default_options.deep_merge(connection_options)

0 comments on commit bb8a15d

Please sign in to comment.
Something went wrong with that request. Please try again.