Problem/Motivation

If Omeda API is unavailable or timing out, the module will wait with it and not time out properly.

Proposed resolution

Add handling for setting a connection timeout.

Comments

mikeegoulding created an issue. See original summary.

mikeegoulding’s picture

I'll come back and make the timeout a configurable option for those that want to avoid it or make it better based on their situation.

mikeegoulding’s picture

Status: Active » Needs work
mikeegoulding’s picture

StatusFileSize
new891 bytes

Having cURL tell us when there is a timeout so downstream we can action on that.

mikeegoulding’s picture

StatusFileSize
new1.15 KB

Adding in response code for knowing when there is an error appropriately from an Omeda response.

mikeegoulding’s picture

Status: Needs work » Needs review
mikeegoulding’s picture

Status: Needs review » Fixed

This has been reviewed elsewhere and we'll pull this into the Drupal 10 compatible release.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.