Skip to main content

node-tracker.emitterconfigurationbase.retryfailedrequests

Home > @snowplow/node-tracker > EmitterConfigurationBase > retryFailedRequests

EmitterConfigurationBase.retryFailedRequests property

Whether to retry failed requests to the collector.

Failed requests are requests that failed due to [timeouts](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/timeout\_event), [network errors](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/error\_event), and [abort events](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/abort\_event).

Takes precedent over retryStatusCodes and dontRetryStatusCodes.

Signature:
retryFailedRequests?: boolean;