Skip to content

Commit 342142d

Browse files
committed
chore: add changeset for closeAndFlush fix
1 parent 3ae0fd4 commit 342142d

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
'@segment/analytics-node': patch
3+
---
4+
5+
Fix closeAndFlush silently dropping in-flight events on timeout.
6+
7+
- Cancel pending retry sleeps via AbortController when closeAndFlush times out, instead of silently swallowing the timeout error.
8+
- Raise default closeAndFlush timeout floor to 75s (was 12.5s) so it survives at least one Retry-After: 60 cycle.
9+
- Add `http_response` emitter event for observing API response status codes and headers.

0 commit comments

Comments
 (0)