Skip to content

Commit

Permalink
Delay doesn't make a difference, never mind.
Browse files Browse the repository at this point in the history
  • Loading branch information
pkaminski committed Feb 28, 2025
1 parent 9afb3f3 commit 4e4b3c0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 0 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -73634,8 +73634,6 @@ function run() {
// Run gcloud versions list cmd
yield exec.exec(toolCommand, appVersionCmd, options);
if (versions.length > limit) {
// Wait a couple seconds to try to avoid GAE's bogus resource conflict errors.
yield new Promise(r => setTimeout(r, 2000));
const versionsToDelete = versions.slice(0, versions.length - limit);
const appDeleteCmd = [
'app',
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,6 @@ async function run(): Promise<void> {
await exec.exec(toolCommand, appVersionCmd, options);

if (versions.length > limit) {
// Wait a couple seconds to try to avoid GAE's bogus resource conflict errors.
await new Promise(r => setTimeout(r, 2000));

const versionsToDelete = versions.slice(0, versions.length - limit);

const appDeleteCmd = [
Expand Down

0 comments on commit 4e4b3c0

Please sign in to comment.