File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -262,11 +262,11 @@ resource "google_cloud_tasks_queue" "pmtiles_builder_task_queue" {
262262 }
263263
264264 retry_config {
265- # This will make the cloud task retry for ~1 hour
266- max_attempts = 31
265+ # Retries span ~4 minutes: initial try + 2 retries, each 120s apart; total wait ≈ 240s plus processing time
266+ max_attempts = 3
267267 min_backoff = " 120s"
268268 max_backoff = " 120s"
269- max_doublings = 2
269+ max_doublings = 2 # Moot here since min_backoff == max_backoff
270270 }
271271}
272272
Original file line number Diff line number Diff line change @@ -1158,11 +1158,11 @@ resource "google_cloud_tasks_queue" "pmtiles_builder_task_queue" {
11581158 }
11591159
11601160 retry_config {
1161- # This will make the cloud task retry for ~1 hour
1162- max_attempts = 31
1161+ # Retries span ~4 minutes: initial try + 2 retries, each 120s apart; total wait ≈ 240s plus processing time
1162+ max_attempts = 3
11631163 min_backoff = " 120s"
11641164 max_backoff = " 120s"
1165- max_doublings = 2
1165+ max_doublings = 2 # Moot here since min_backoff == max_backoff
11661166 }
11671167}
11681168
You can’t perform that action at this time.
0 commit comments