Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
guipublic committed Nov 27, 2024
1 parent cc6fa11 commit 0f94f73
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -451,8 +451,8 @@ function run() {
const res = _c;
const artifact = res.data.find((artifact) => !artifact.expired && artifact.name === baseReport);
if (!artifact) {
core.info(`DEBUG: searching with reduced timeout`);
yield new Promise((resolve) => setTimeout(resolve, 90)); // avoid reaching the API rate limit
core.info(`DEBUG: searching..."${res.data}"`);
yield new Promise((resolve) => setTimeout(resolve, 900)); // avoid reaching the API rate limit
continue;
}
artifactId = artifact.id;
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ async function run() {
);

if (!artifact) {
core.info(`DEBUG: searching with reduced timeout`);
await new Promise((resolve) => setTimeout(resolve, 90)); // avoid reaching the API rate limit
core.info(`DEBUG: searching..."${res.data}"`);
await new Promise((resolve) => setTimeout(resolve, 900)); // avoid reaching the API rate limit

continue;
}
Expand Down

0 comments on commit 0f94f73

Please sign in to comment.