Commit 09035bd8 authored by Ahmad's avatar Ahmad

inikt

parent da399c73
...@@ -90,8 +90,8 @@ async function main() { ...@@ -90,8 +90,8 @@ async function main() {
if (!exists) { if (!exists) {
console.log(`Instance ${instanceName} does not exist in region ${region}, creating...`); console.log(`Instance ${instanceName} does not exist in region ${region}, creating...`);
await createLightsailInstance(lightsail, region, instanceName); await createLightsailInstance(lightsail, region, instanceName);
console.log(`Waiting 60 seconds before creating the next instance...`); console.log(`Waiting 30 seconds before creating the next instance...`);
await sleep(60000); // Wait for 60 seconds to avoid hitting rate limits await sleep(30000); // Wait for 60 seconds to avoid hitting rate limits
} else { } else {
console.log(`Instance ${instanceName} already exists in region ${region}, skipping creation.`); console.log(`Instance ${instanceName} already exists in region ${region}, skipping creation.`);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment