Kit / Kit/instagram_basic_display
Handle timeouts
- Dominant language
- Ruby
- Stars
- 27
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
We are facing timeouts when fetching media. Basically, FB is not responding to us even after 30 seconds, and Heroku kills the thread as it's long-running.
```ruby
client = InstagramBasicDisplay::Client.new(auth_token: user.instagram_token)
response = client.media_feed
```
Can I send a PR to add this functionality? If so, do you prefer timeout to be an environment variable or an optional param?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the media_feed entry point shown in the issue and reviewing how the Instagram API request is made. Decide whether the timeout should be configurable through an environment variable or an optional parameter, then verify that media fetching stops within the configured limit instead of running indefinitely.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100