WillemJiang commented on a change in pull request #322: [SCB-962] Support
ForwardPolicy to configure the maximum of retries
URL:
https://github.com/apache/incubator-servicecomb-saga/pull/322#discussion_r227250558
##########
File path: docs/api/api.md
##########
@@ -46,10 +48,12 @@ JSON parameters:
- transaction - user-defined transaction that executed by the Saga.
- method - user-defined, HTTP method.
- path - user-defined, HTTP path.
+ - retries - int, optional, default -1. The max retry times for
transaction. If this parameter is less than or equal to 0, transaction will
retry infinitely.
- params - support `form`,`json`,`body`,`query`.
- compensation - user-defined compensation that executed by the Saga.
- method - user-defined, HTTP method.
- path - user-defined, HTTP path.
+ - retries - int, optional, default 3. The max retry times for compensation.
Review comment:
Does it support -1 setting?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services