Kit / Kit/instagram_basic_display
Handle timeouts
- Lenguaje dominante
- Ruby
- Estrellas
- 27
- Forks
- 10
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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?
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- ruby
- Área
- api
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100