aliyun / aliyun-tablestore-nodejs-sdk

Aliyun TableStore(原OTS) SDK for Node.js
Apache License 2.0
88 stars 33 forks source link

[bug] 错误重试机制间隔时间问题 #64

Closed CaoZhenze closed 1 year ago

CaoZhenze commented 1 year ago

目前问题是当接口错误时,会进行重试,重试过程中最大3秒的间隔时间没有生效,而是3ms,单位问题。 版本:所有Tag包括最新v5.3.1 代码段:aliyun-tablestore-nodejs-sdk\lib\retry\default_retry_policy.js:13-20 image 这边获取重试时间也是返回的以秒为单位的数据 image 方法调用位置如下 代码段:aliyun-tablestore-nodejs-sdk\lib\event_listeners.js:146-166 image

CaoZhenze commented 1 year ago

这边官方文档上面是3000ms,可能会导致用户误会 image

目前本地的解决方法是全局处理,不过希望官方能更正一下 image

xjtushilei commented 1 year ago

Good job!

This bug will be fixed in the next small version.