Event/Subscription failures

For requests or help with our API
Post Reply
rinse-dental
Posts: 140
Joined: Wed Apr 06, 2022 12:04 pm

Event/Subscription failures

Post by rinse-dental »

Hi there - quick question. How long do we have to respond 2xx to Subscriptions event before OD attempts a retry?
JTS
Posts: 58
Joined: Thu Aug 18, 2022 12:56 pm

Re: Event/Subscription failures

Post by JTS »

Hello rinse-dental,

Currently, API Subscriptions are repeatedly cycled through and send Events at a consistent rate determined by the subscription's PollingSeconds. If it is a Subscription's turn in the cycle, and it is determined that there is new data for it to send, it will attempt to send an Event with said data to its EndPointUrl. If the attempt to send data does not receive an OK response within ~1 minute, the Subscription's DateTimeStart will not update to the current time, and it will attempt to re-send the data when the cycle gets back to that Subscription.

In short, the Event currently times out after about a minute, and OD will attempt a retry after going through every other active Subscription once.

Thanks!
Post Reply