Skip to content

Commit

Permalink
Added a high-mem short-name with 1-node and lots of memory.
Browse files Browse the repository at this point in the history
  • Loading branch information
brett19 committed Jan 24, 2024
1 parent 2e98889 commit 194ba46
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions clusterdef/fromshortstring.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,26 @@ func FromShortString(shortStr string) (*Cluster, error) {
},
},
}, nil
} else if defName == "high-mem" {
return &Cluster{
NodeGroups: []*NodeGroup{
{
Count: 1,
Version: defVersion,
Services: []Service{
KvService,
QueryService,
IndexService,
SearchService,
},
},
},
Docker: DockerCluster{
KvMemoryMB: 1536,
IndexMemoryMB: 1024,
FtsMemoryMB: 1024,
},
}, nil
}

return nil, fmt.Errorf("unknown short string name `%s`", defName)
Expand Down

0 comments on commit 194ba46

Please sign in to comment.