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

Add short connect timeout and retry to parent requests #48

Open
themightychris opened this Issue Oct 20, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@themightychris
Member

themightychris commented Oct 20, 2017

  • Set CURLOPT_CONNECTTIMEOUT' inEmergence::executeRequest()` to something low like 1 or 2
  • Add $retries=1 parameter to Emergence::executeRequest() and have it return a re-invoktion of itselft with $retries- 1 if $retries > 0
  • Evaluate different default values of the timeout and retries on a test instance with simulated parent failures
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment