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.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | omeda-api-timeout-3224287-5.patch | 1.15 KB | mikeegoulding |
| #4 | omeda-api-timeout-3224287-4.patch | 891 bytes | mikeegoulding |
| omeda-api-timeout.patch | 478 bytes | mikeegoulding |
Comments
Comment #2
mikeegouldingI'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.
Comment #3
mikeegouldingComment #4
mikeegouldingHaving cURL tell us when there is a timeout so downstream we can action on that.
Comment #5
mikeegouldingAdding in response code for knowing when there is an error appropriately from an Omeda response.
Comment #6
mikeegouldingComment #7
mikeegouldingThis has been reviewed elsewhere and we'll pull this into the Drupal 10 compatible release.