growthbook / growthbook/growthbook-ruby

What is default timeout if request takes long to respond

Open
#33 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
16
Forks
7
PR merge metrics
No merged PRs in 30d

Description

I am integrating this client,

```ruby
client = Growthbook::FeatureRepository.new(endpoint: "", decryption_key: nil)
client.fetch
```

I can see fetch is using Net::HTTP.get_response

```ruby
uri = URI(endpoint)
res = Net::HTTP.get_response(uri)
```

What will be the default timeout in this case? OR
Is there a way, where we can define/pass open_timeout/read_timeout or timeout?

Contributor guide

Open the contributing guide

Research direction

Start at Growthbook::FeatureRepository#fetch and its Net::HTTP.get_response call. Determine the current timeout behavior and whether configurable open_timeout, read_timeout, or timeout values are in scope. Done means the default and supported configuration are clarified and documented, or an agreed implementation target is defined.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.