Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

jonatasdaniel
Copy link
Contributor

Adds option to set Faraday timeout

client = DiscourseApi::Client.new("http://try.discourse.org").tap do |c|
  c.timeout = 15
end

Copy link
Contributor

@oblakeerickson oblakeerickson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thank you :)

@oblakeerickson oblakeerickson merged commit 5a1990a into discourse:master Apr 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants