Skip to content

Commit

Permalink
cli v3: increase otel force flush timeout to 30s from 500ms
Browse files Browse the repository at this point in the history
  • Loading branch information
ericallam committed Jun 7, 2024
1 parent fb52b9e commit c11a77f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/brown-spies-burn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"trigger.dev": patch
---

cli v3: increase otel force flush timeout to 30s from 500ms
2 changes: 1 addition & 1 deletion packages/cli-v3/src/telemetry/tracing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function initializeTracing(): NodeTracerProvider | undefined {
);

const traceProvider = new NodeTracerProvider({
forceFlushTimeoutMillis: 500,
forceFlushTimeoutMillis: 30_000,
resource,
spanLimits: {
attributeCountLimit: 1000,
Expand Down

0 comments on commit c11a77f

Please sign in to comment.