Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set request timeout for ERP endpoint #2413

Merged
merged 2 commits into from
Feb 18, 2025
Merged

Set request timeout for ERP endpoint #2413

merged 2 commits into from
Feb 18, 2025

Conversation

susilnem
Copy link
Member

@susilnem susilnem commented Feb 17, 2025

Addresses

  • Add Request timeout for ERP External Endpoint

Changes

  • Error handle for request timeout for ERP
  • Add log
  • Setting timeout to 2 Minutes for now

Checklist

Things that should succeed before merging.

  • Updated/ran unit tests
  • Updated CHANGELOG.md

Release

If there is a version update, make sure to tag the repository with the latest version.

main/settings.py Outdated Show resolved Hide resolved
utils/erp.py Outdated Show resolved Hide resolved
utils/erp.py Outdated Show resolved Hide resolved
main/settings.py Outdated Show resolved Hide resolved
@szabozoltan69
Copy link
Contributor

The main issue is that ERP sometimes not ready in 2 minutes.

@szabozoltan69 szabozoltan69 merged commit 0622727 into develop Feb 18, 2025
3 checks passed
@szabozoltan69 szabozoltan69 deleted the fix/erp-timeout branch February 18, 2025 11:19
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.

4 participants