Browse Source
Merge pull request #257 from Leizhengzi/main
fix: The requestTimeout setting is invalid
pull/259/head
yedf2
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
dtmcli/dtmimp/trans_base.go
|
|
|
@ -44,7 +44,7 @@ func (g *BranchIDGen) CurrentSubBranchID() string { |
|
|
|
type TransOptions struct { |
|
|
|
WaitResult bool `json:"wait_result,omitempty" gorm:"-"` |
|
|
|
TimeoutToFail int64 `json:"timeout_to_fail,omitempty" gorm:"-"` // for trans type: xa, tcc, unit: second
|
|
|
|
RequestTimeout int64 `json:"requestTimeout" gorm:"-"` // for global trans resets request timeout, unit: second
|
|
|
|
RequestTimeout int64 `json:"request_timeout,omitempty" gorm:"-"` // for global trans resets request timeout, unit: second
|
|
|
|
RetryInterval int64 `json:"retry_interval,omitempty" gorm:"-"` // for trans type: msg saga xa tcc, unit: second
|
|
|
|
PassthroughHeaders []string `json:"passthrough_headers,omitempty" gorm:"-"` // for inherit the specified gin context headers
|
|
|
|
BranchHeaders map[string]string `json:"branch_headers,omitempty" gorm:"-"` // custom branch headers, dtm server => service api
|
|
|
|
|