Skip to content

Commit 78221e7

Browse files
committed
Update table.go
1 parent de0722f commit 78221e7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

schema/table.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,14 @@ type Table struct {
118118

119119
// IgnorePKComponentsMismatchValidation is a flag that indicates if the table should skip validating usage of both primary key components and primary keys
120120
IgnorePKComponentsMismatchValidation bool `json:"ignore_pk_components_mismatch_validation"`
121+
122+
// ConcurrencySettings Enables configuring concurrency settings for specific table. This provides a mechanism for irregular APIs to have unique settings either because it shares a common rate limit pool or has different limits than the default settings.
123+
ConcurrencySettings *ConcurrencySettings `json:"concurrency_settings,omitempty"`
124+
}
125+
type ConcurrencySettings struct {
126+
ConcurrencyKey *string `json:"concurrency_key,omitempty"`
127+
MaxResourceConcurrency *int `json:"max_resource_concurrency,omitempty"`
128+
MaxTableConcurrency *int `json:"max_table_concurrency,omitempty"`
121129
}
122130

123131
var (

0 commit comments

Comments
 (0)