Skip to content

Commit

Permalink
use old defaults
Browse files Browse the repository at this point in the history
Signed-off-by: shanth96 <[email protected]>
  • Loading branch information
shanth96 committed Jul 8, 2024
1 parent 7b9a633 commit fef8c84
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion go/cmd/vttestserver/cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ func New() (cmd *cobra.Command) {
cmd.Flags().BoolVar(&config.EnableSystemSettings, "enable_system_settings", true, "This will enable the system settings to be changed per session at the database connection level")

cmd.Flags().StringVar(&config.TransactionMode, "transaction_mode", "MULTI", "Transaction mode MULTI (default), SINGLE or TWOPC ")
cmd.Flags().DurationVar(&config.TransactionTimeout, "queryserver-config-transaction-timeout", 30*time.Second, "query server transaction timeout, a transaction will be killed if it takes longer than this value (default 30s)")
cmd.Flags().DurationVar(&config.TransactionTimeout, "queryserver-config-transaction-timeout", 30*time.Second, "query server transaction timeout, a transaction will be killed if it takes longer than this value")

cmd.Flags().StringVar(&config.TabletHostName, "tablet_hostname", "localhost", "The hostname to use for the tablet otherwise it will be derived from OS' hostname")

Expand Down
1 change: 0 additions & 1 deletion go/vt/vttest/vtprocess.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ var QueryServerArgs = []string{
"--queryserver-config-schema-reload-time", "60s",
"--queryserver-config-stream-pool-size", "4",
"--queryserver-config-transaction-cap", "4",
"--queryserver-config-transaction-timeout", "300s",
"--queryserver-config-txpool-timeout", "300s",
}

Expand Down

0 comments on commit fef8c84

Please sign in to comment.