Skip to content

Instantly share code, notes, and snippets.

@ngsw
Created September 3, 2014 18:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ngsw/fe19c80c75c788ccbf34 to your computer and use it in GitHub Desktop.
Save ngsw/fe19c80c75c788ccbf34 to your computer and use it in GitHub Desktop.
berkshelf-api-client-1.2.0/lib/berkshelf/api_client/connection.rb
#(snip)
def initialize(url, options = {})
options = options.reverse_merge(retries: 3, retry_interval: 0.5,
open_timeout: 3, timeout: 30)
#(snip)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment