Network timeout settings

Ruby has 60s timeouts by default. Both Net::HTTP and Excon have this.

  • connect timeout — how long to establish connection to a remote
  • write timeout — how long to send request
  • read timeout — how long to receive response

Best actionable info on this topic:

🤔 Does server complete a task if aborted on write or read?


March 28, 2024