From c0bc9ccb5eaf9d1b6ff1666f71752c11e1a742b2 Mon Sep 17 00:00:00 2001 From: Ian Jennings Date: Fri, 12 Apr 2024 16:13:59 -0500 Subject: [PATCH] add additional sleep so we don't hit rate limit when there are no deployments --- index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.js b/index.js index 37c7702..81679f5 100644 --- a/index.js +++ b/index.js @@ -72,6 +72,9 @@ async function waitForDeployment(options) { if (elapsed >= timeout) { throw new Error(`Timing out after ${timeout} seconds (${elapsed} seconds elapsed)`); } + + await sleep(interval); // Debug if this is correctly pausing + } }