# bunqueue v2.6.6

Fixes 2 bugs. Parent-child flow race condition: Resolved race where concurrent ack/fail operations on parent-child flows could cause inconsistent state.

Canonical: https://bunqueue.dev/blog/bunqueue-v2-6-6/

---

<!-- Generated from changelog.md by docs/scripts/generate-release-posts.ts. Edit the changelog and regenerate. -->

Fixes 2 bugs. Parent-child flow race condition: Resolved race where concurrent ack/fail operations on parent-child flows could cause inconsistent state.

![](https://github.com/egeominotti.png?size=64) [egeominotti](https://github.com/egeominotti)

#### To install bunqueue v2.6.6

```bash title="bun"
bun add bunqueue@2.6.6
```

```bash title="npm"
npm install bunqueue@2.6.6
```

#### To upgrade bunqueue

```bash
bun add bunqueue@latest
```

## Bugfixes

- **Parent-child flow race condition**: Resolved race where concurrent ack/fail operations on parent-child flows could cause inconsistent state. ([#31](https://github.com/egeominotti/bunqueue/issues/31))
- **Embedded Worker heartbeats**: Fixed embedded Worker heartbeat mechanism not properly keeping jobs alive during long processing. ([#32](https://github.com/egeominotti/bunqueue/issues/32))

## Thanks to 1 contributor!

- [@egeominotti](https://github.com/egeominotti)

---

[← bunqueue v2.6.5](https://bunqueue.dev/blog/bunqueue-v2-6-5/) · [Release on GitHub](https://github.com/egeominotti/bunqueue/releases/tag/v2.6.6) · [Commits since v2.6.5](https://github.com/egeominotti/bunqueue/compare/v2.6.5...v2.6.6) · [Full changelog](https://bunqueue.dev/changelog/) · [All posts](https://bunqueue.dev/blog/)
