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

If Segment API is slow or unavailable client and server side requests can cause PHP timeouts #749

Open
1 task
roborourke opened this issue May 18, 2023 · 0 comments
Labels
bug Existing functionality isn't behaving as expected

Comments

@roborourke
Copy link
Contributor

Steps to reproduce:

  1. This was observed while saving a long menu of 150 items during a period of slowness with api.segment.com. I'm not sure how best to reproduce that

The current version (and also the latest version) of the Segment PHP SDK use unlimited / default timeouts, meaning a blocking request can run for up to 300s. On Altis this results in a 504 being returned.

Any requests to segment should time out in less than 30s, ideally much less.

Acceptance criteria:

  • ...
@roborourke roborourke added the bug Existing functionality isn't behaving as expected label May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Existing functionality isn't behaving as expected
Projects
None yet
Development

No branches or pull requests

1 participant