fix: add missing action options

This commit is contained in:
lilong.129
2025-06-19 21:51:38 +08:00
parent 9e589dec16
commit ed5d3127cb
8 changed files with 71 additions and 8 deletions

View File

@@ -440,9 +440,6 @@ func NewActionOptions(opts ...ActionOption) *ActionOptions {
for _, option := range opts {
option(actionOptions)
}
if actionOptions.MaxRetryTimes == 0 {
actionOptions.MaxRetryTimes = 1
}
return actionOptions
}