Skip to content

Commit

Permalink
vttablet: more lax GOGC
Browse files Browse the repository at this point in the history
Signed-off-by: Vicent Marti <[email protected]>
  • Loading branch information
vmg committed Nov 21, 2024
1 parent ac14d3c commit 567f881
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions go/cmd/vttablet/cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import (
"context"
"fmt"
"os"
"runtime/debug"
"time"

"github.com/spf13/cobra"
Expand Down Expand Up @@ -108,6 +109,7 @@ func init() {
}

func run(cmd *cobra.Command, args []string) error {
debug.SetGCPercent(200)
servenv.Init()

// Ensure we open the topo before we start the context, so that the
Expand Down

0 comments on commit 567f881

Please sign in to comment.