Skip to content

Commit

Permalink
format go/vt/vttablet/tabletserver/tabletenv/config.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Jun Wang committed Nov 27, 2024
1 parent 6c01cab commit f5c6b40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/vt/vttablet/tabletserver/tabletenv/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ type TabletConfig struct {
StreamBufferSize int `json:"streamBufferSize,omitempty"`
ConsolidatorStreamTotalSize int64 `json:"consolidatorStreamTotalSize,omitempty"`
ConsolidatorStreamQuerySize int64 `json:"consolidatorStreamQuerySize,omitempty"`
ConsolidatorQueryWaiterCap int64 `json:"consolidatorMaxQueryWait,omitempty"`
ConsolidatorQueryWaiterCap int64 `json:"consolidatorMaxQueryWait,omitempty"`
QueryCacheMemory int64 `json:"queryCacheMemory,omitempty"`
QueryCacheDoorkeeper bool `json:"queryCacheDoorkeeper,omitempty"`
SchemaReloadInterval time.Duration `json:"schemaReloadIntervalSeconds,omitempty"`
Expand Down Expand Up @@ -1015,7 +1015,7 @@ var defaultConfig = TabletConfig{
Consolidator: Enable,
ConsolidatorStreamTotalSize: 128 * 1024 * 1024,
ConsolidatorStreamQuerySize: 2 * 1024 * 1024,
ConsolidatorQueryWaiterCap: 0,
ConsolidatorQueryWaiterCap: 0,
// The value for StreamBufferSize was chosen after trying out a few of
// them. Too small buffers force too many packets to be sent. Too big
// buffers force the clients to read them in multiple chunks and make
Expand Down

0 comments on commit f5c6b40

Please sign in to comment.