Skip to content

Commit 5b95952

Browse files
committed
Adjusted the number of instances for pmtiles.
1 parent f5225a5 commit 5b95952

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

functions-python/pmtiles_builder/function_config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
],
2323
"ingress_settings": "ALL",
2424
"max_instance_request_concurrency": 1,
25-
"max_instance_count": 5,
25+
"max_instance_count": 50,
2626
"min_instance_count": 0,
2727
"available_cpu": 4
2828
}

infra/batch/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ resource "google_cloud_tasks_queue" "pmtiles_builder_task_queue" {
257257
name = "pmtiles-builder-queue-${var.environment}-${local.deployment_timestamp}"
258258

259259
rate_limits {
260-
max_concurrent_dispatches = 1
260+
max_concurrent_dispatches = 20
261261
max_dispatches_per_second = 1
262262
}
263263

infra/functions-python/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1153,7 +1153,7 @@ resource "google_cloud_tasks_queue" "pmtiles_builder_task_queue" {
11531153
name = "pmtiles-builder-queue-${var.environment}-${local.deployment_timestamp}"
11541154

11551155
rate_limits {
1156-
max_concurrent_dispatches = 1
1156+
max_concurrent_dispatches = 20
11571157
max_dispatches_per_second = 1
11581158
}
11591159

0 commit comments

Comments
 (0)