File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ import "google/api/annotations.proto";
2222import "google/api/client.proto" ;
2323import "google/api/field_behavior.proto" ;
2424import "google/api/resource.proto" ;
25+ import "google/protobuf/duration.proto" ;
2526import "google/protobuf/empty.proto" ;
2627import "google/protobuf/struct.proto" ;
2728import "google/protobuf/timestamp.proto" ;
@@ -1163,6 +1164,14 @@ message CommitRequest {
11631164 // Default value is `false`.
11641165 bool return_commit_stats = 5 ;
11651166
1167+ // Optional. The amount of latency this request is willing to incur in order
1168+ // to improve throughput. If this field is not set, Spanner assumes requests
1169+ // are relatively latency sensitive and automatically determines an
1170+ // appropriate delay time. You can specify a batching delay value between 0
1171+ // and 500 ms.
1172+ google.protobuf.Duration max_commit_delay = 8
1173+ [(google.api.field_behavior ) = OPTIONAL ];
1174+
11661175 // Common options for this request.
11671176 RequestOptions request_options = 6 ;
11681177}
You can’t perform that action at this time.
0 commit comments