Skip to content

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

Description

@zainlu

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

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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