8000 BaseWxMpServiceImpl类型里面的execute方法中如果设置了最大的重试次数为0的话所抛出的异常不对 · Issue #2054 · binarywang/WxJava · GitHub
[go: up one dir, main page]

Skip to content
BaseWxMpServiceImpl类型里面的execute方法中如果设置了最大的重试次数为0的话所抛出的异常不对 #2054
Closed
@zainlu

Description

@zainlu

image
重试调用接口的话,会有一定的概率导致消息重发。如果我将最大的重试次数maxRetryTimes设置为0的时候。
图中抛出异常会在第一次调用接口出现任何的报错的时候进行抛出异常,而不是第一次调用超时时候抛出异常。
会导致后面对异常的处理,出现错误。

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0