Skip to content

Commit

Permalink
Increase default value for max-vms and max-vm-queue
Browse files Browse the repository at this point in the history
  • Loading branch information
omerfirmak committed Nov 22, 2023
1 parent a62fb6a commit 8c0bad3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/juno/juno.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ func NewCmd(config *node.Config, run func(*cobra.Command, []string) error) *cobr
// may mutate their values.
defaultLogLevel := utils.INFO
defaultNetwork := utils.Mainnet
defaultMaxVMs := runtime.GOMAXPROCS(0)
defaultMaxVMs := 3 * runtime.GOMAXPROCS(0)

junoCmd.Flags().StringVar(&cfgFile, configF, defaultConfig, configFlagUsage)
junoCmd.Flags().Var(&defaultLogLevel, logLevelF, logLevelFlagUsage)
Expand Down
2 changes: 1 addition & 1 deletion cmd/juno/juno_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func TestConfigPrecedence(t *testing.T) {
defaultGRPCPort := uint16(6064)
defaultColour := true
defaultPendingPollInterval := time.Duration(0)
defaultMaxVMs := uint(runtime.GOMAXPROCS(0))
defaultMaxVMs := uint(3 * runtime.GOMAXPROCS(0))
defaultRPCMaxBlockScan := uint(math.MaxUint)

tests := map[string]struct {
Expand Down

0 comments on commit 8c0bad3

Please sign in to comment.