Stephen Cresswell
Stephen Cresswell
Gets better. The last [commit](https://github.com/squaremo/bitsyntax-js/commits/master) to bitsyntax was to bump pegjs from 0.7.0 to 0.1.0. It was a breaking change, but the bitsyntax code was never updated, so the project...
Migrating to Peggy is proving tricky. After updating to either pegjs@^1.0.0, peggy@^1.0.0 or peggy@latest and regenerating the parser several of the tests fail. Thankfully my original diagnosis was incorrect though...
I've republished bitsyntax under [@acuminous/bitsyntax](https://www.npmjs.com/package/@acuminous/bitsyntax)
[email protected] now depends on https://www.npmjs.com/package/@acuminous/bitsyntax which includes the fix for this issue
@cyrilchapon that wouldn't help. Your application could crash / restart between committing the rmqTransaction and committing the sqlTransaction. What you are looking for are distributed transactions or [2 phase commit](https://en.wikipedia.org/wiki/Two-phase_commit_protocol),...
Closing as the channel id is already accessible
Hi @soryy708, Thanks for the suggestion, however [amqplib supports node 10 and above](https://github.com/amqp-node/amqplib/blob/main/package.json#L12), meaning we are not able to introduce some of the more recent JavaScript features.
Tidy up
Hi @rubenmorim, Make sure you close all channels before closing the connection and you should be fine.
Going to close this. I'm not confident about catching all the race conditions. It's documented you need to close channels before the connection.