matthewmueller/x-ray

Feature request: retry

Open

#94 创建于 2015年9月17日

在 GitHub 查看
 (7 评论) (7 反应) (0 负责人)JavaScript (415 fork)batch import
featurehelp wanted

仓库指标

Star
 (5,804 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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)

贡献者指南