Skip to content

Commit f2e54dc

Browse files
committed
adjust limits for fts for init-cluster script
1 parent f823b6f commit f2e54dc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

bin/init-cluster

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ options = {
3131
password: ENV.fetch("CB_PASSWORD", "password"),
3232
bucket: ENV.fetch("CB_BUCKET", "default"),
3333
sec_bucket: ENV.fetch("CB_SEC_BUCKET", ""),
34-
server_quota: ENV.fetch("CB_SERVER_QUOTA", 2048).to_i,
34+
server_quota: ENV.fetch("CB_SERVER_QUOTA", 3072).to_i,
3535
index_quota: ENV.fetch("CB_INDEX_QUOTA", 256).to_i,
36+
fts_quota: ENV.fetch("CB_FTS_QUOTA", 512).to_i,
3637
bucket_quota: ENV.fetch("CB_BUCKET_QUOTA", 256).to_i,
3738
enable_developer_preview: ENV.fetch("CB_DEVELOPER_PREVIEW", false).to_b,
3839
cluster_run_nodes: ENV.fetch("CB_CLUSTER_RUN_NODES", 0).to_i,
@@ -126,7 +127,8 @@ services = resp['allowedServices']
126127

127128
api.post_form("/pools/default",
128129
memoryQuota: options[:server_quota],
129-
indexMemoryQuota: options[:index_quota])
130+
indexMemoryQuota: options[:index_quota],
131+
ftsMemoryQuota: options[:fts_quota])
130132
api.post_form("/node/controller/setupServices", services: services.join(","))
131133

132134
if options[:strict_encryption]

0 commit comments

Comments
 (0)