Skip to content

Commit 3f730b1

Browse files
aledbfroboquat
authored andcommitted
[installer] Adjust default MySQL value
1 parent b47bf49 commit 3f730b1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

installer/pkg/components/database/incluster/configmap.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@ package incluster
77
import (
88
"embed"
99
"fmt"
10-
"github.com/gitpod-io/gitpod/installer/pkg/common"
1110
"io/fs"
11+
"strings"
12+
13+
"github.com/gitpod-io/gitpod/installer/pkg/common"
1214
corev1 "k8s.io/api/core/v1"
1315
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
1416
"k8s.io/apimachinery/pkg/runtime"
15-
"strings"
1617
)
1718

1819
//go:embed init/*.sql
@@ -51,7 +52,8 @@ func configmap(ctx *common.RenderContext) ([]runtime.Object, error) {
5152
Labels: common.DefaultLabels(Component),
5253
},
5354
Data: map[string]string{
54-
"init.sql": initScriptData,
55+
"init.sql": initScriptData,
56+
"tuneMysql.sql": `SET GLOBAL innodb_lru_scan_depth=256;`,
5557
},
5658
},
5759
}, nil

0 commit comments

Comments
 (0)