Skip to content

Commit

Permalink
Add default timeout options
Browse files Browse the repository at this point in the history
Addresses #274 and #275.
  • Loading branch information
sferik committed Jun 22, 2012
1 parent f72410e commit bb8a15d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/twitter/requestable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bb8a15d

Please sign in to comment.