matthewmueller/x-ray

Feature request: retry

Open

#94 aberto em 17 de set. de 2015

Ver no GitHub
 (7 comments) (7 reactions) (0 assignees)JavaScript (415 forks)batch import
featurehelp wanted

Métricas do repositório

Stars
 (5.804 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

Great project that has been incredibly useful!!!

I would like the ability to have X-Ray automatically retry when a connection times out, for the number of times I specify. Before the first retry, the configured .delay would be applied. Each subsequent try the delay time would be doubled until the maximum number of retries had been exceeded.

The API would simply be

xray.retry(maxAttempts)

Guia do colaborador