You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
sql.end() during a subscribe reconnect is an unhandled rejection #33
If sql.end() runs while a sql.subscribe() replication connection is reconnecting, init() rejects with CONNECTION_ENDED inside the async onclose in src/subscribe.js, and nothing handles the rejection: an unhandled rejection, which ends the process under Node's default handling.
Found while planning #24. Fix: catch in the reconnect path when the subscription has ended, and report other failures through the subscribers' onerror (see #24).
Activity
fix: end sql.subscribe() cleanly while it reconnects
fix: end sql.subscribe() cleanly while it reconnects
chore: release 4.4.0