funcool

Thomas Cothran 2025-07-03T18:52:34.836489Z

What was the rationale for the CSP implementation to cancel pending puts when a channel is closed? This makes it really easy to lose messages when shutting down a topology.

Thomas Cothran 2025-07-03T19:00:20.302729Z

If you have three channels piped into each other, A, B, and C, and you close A while B has messages in its buffer, then: • A closes, causing • B and C to close • Then all the messages in Bs buffer cannot be put on C and are lost

niwinz 2025-10-01T10:30:12.152249Z

this will be fixed in the next promesa release

❤️ 1
niwinz 2025-07-08T11:07:55.610949Z

Hmm, looks interesting what you saying. I don't have a concrete rationale right now, i need to check it. But the case you explains is pretty common so i think we should allow have pending puts and takes.

👍 1
niwinz 2025-07-08T11:08:14.612519Z

thanks for raising this