Skip to content

Commit bd3960f

Browse files
committed
fix: bump timeouts (domain 30min, pipeline 20min)
OpenSearch 3.5 domains and OSIS pipelines can take longer than the previous 20/15 min timeouts. Signed-off-by: Kyle Hounslow <kylhouns@amazon.com>
1 parent d0870f6 commit bd3960f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

aws/cli-installer/src/aws.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -250,9 +250,9 @@ async function createManagedDomain(cfg) {
250250
}
251251

252252
// Poll for endpoint
253-
const spinner = createSpinner('Provisioning OpenSearch domain (15-20 min)...');
253+
const spinner = createSpinner('Provisioning OpenSearch domain (20-30 min)...');
254254
spinner.start();
255-
const maxWait = 1200_000; // 20 min
255+
const maxWait = 1800_000; // 30 min
256256
const interval = 10_000;
257257
const start = Date.now();
258258

@@ -535,7 +535,7 @@ export async function createOsiPipeline(cfg, pipelineYaml) {
535535
// Wait for pipeline to become active
536536
const spinner = createSpinner('Waiting for pipeline to activate...');
537537
spinner.start();
538-
const maxWait = 900_000; // 15 min
538+
const maxWait = 1200_000; // 20 min
539539
const start = Date.now();
540540

541541
while (Date.now() - start < maxWait) {

0 commit comments

Comments
 (0)