trustgraph/trustgraph-base
cybermaggedon bc30c81d53
fix: producer send loop reconnects after failure instead of using None (#1057)
The send method had two sequential while loops: one for connecting and
one for sending. After a send failure the producer was closed and set
to None, but control stayed in the send loop rather than returning to
the connect loop. The next iteration called .send() on None, then
.close() on None in the except block, propagating an AttributeError
that masked the original error (e.g. MessageTooBig).

Nest the connect loop inside the send loop so failures trigger
reconnection, and guard the .close() call against None.
2026-07-23 12:13:42 +01:00
..
trustgraph fix: producer send loop reconnects after failure instead of using None (#1057) 2026-07-23 12:13:42 +01:00
pyproject.toml Add missing websockets dep (#859) 2026-04-30 09:53:32 +01:00
README.md Maint/fix build env (#84) 2024-09-30 19:47:09 +01:00