Skip to content

Commit

Permalink
fix(ci-tracer): extend timeout before exporting (#1113)
Browse files Browse the repository at this point in the history
  • Loading branch information
sduranc authored Nov 14, 2024
1 parent 8cfd6de commit c8c5631
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actions/send-ci-cd-trace/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,8 @@ async function run() {

run().catch(async (error) => {
console.error("An error occurred:", error);
// Allow 2s for spans to be exported
await new Promise((resolve) => setTimeout(resolve, 2000));
// Allow 5s for spans to be exported
await new Promise((resolve) => setTimeout(resolve, 5000));
await shutdownAzureMonitor();
process.exit(1);
});

0 comments on commit c8c5631

Please sign in to comment.