Skip to content

fix: increase timeout while waiting for mit-slm response#31

Merged
Henrrypg merged 4 commits intomainfrom
hpg/increase-timeout
Apr 9, 2026
Merged

fix: increase timeout while waiting for mit-slm response#31
Henrrypg merged 4 commits intomainfrom
hpg/increase-timeout

Conversation

@Henrrypg
Copy link
Copy Markdown
Collaborator

@Henrrypg Henrrypg commented Apr 9, 2026

This pull request makes a small update to the MIT DCC API integration by increasing the request timeout from 120 seconds to 300 seconds in the _call_api method of mit_dcc_processor.py. The change also updates the corresponding timeout error log message for consistency.

  • Increased the API request timeout from 120 seconds to 300 seconds to accommodate longer response times. (backend/openedx_ai_badges/processors/mit_dcc_processor.py)
  • Updated the timeout error log message to reflect the new 300-second timeout. (backend/openedx_ai_badges/processors/mit_dcc_processor.py)

Copy link
Copy Markdown
Member

@felipemontoya felipemontoya 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 to me

@Henrrypg Henrrypg merged commit 3337e1c into main Apr 9, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants