Skip to content

Commit

Permalink
Fix slow startup
Browse files Browse the repository at this point in the history
  • Loading branch information
as51340 committed Aug 9, 2024
1 parent 1c96670 commit 84188dc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/controller/memgraphha_constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ package controller
var boltPort int = 7687
var coordinatorPort int = 12000
var mgmtPort int = 10000
var replicationPort int = 12000
var replicationPort int = 20000
var image string = "memgraph/memgraph:2.18.1"
2 changes: 1 addition & 1 deletion internal/controller/memgraphha_coord.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func (r *MemgraphHAReconciler) createStatefulSetForCoord(memgraphha *memgraphv1.
Containers: []corev1.Container{{
Name: containerName,
Image: image,
ImagePullPolicy: corev1.PullAlways,
ImagePullPolicy: corev1.PullAlways, // set to PullIfNotPresent when testing with local image
Ports: []corev1.ContainerPort{
{
ContainerPort: int32(boltPort),
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/memgraphha_data_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func (r *MemgraphHAReconciler) createStatefulSetForDataInstance(memgraphha *memg
Containers: []corev1.Container{{
Name: containerName,
Image: image,
ImagePullPolicy: corev1.PullAlways,
ImagePullPolicy: corev1.PullAlways, // set to PullIfNotPresent when testing with local image
Ports: []corev1.ContainerPort{
{
ContainerPort: int32(boltPort),
Expand Down

0 comments on commit 84188dc

Please sign in to comment.