Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Tunnelbroker] ignore errors about closed connection when sending mes…
…sage to device Summary: This is a fix for [ENG-10110](https://linear.app/comm/issue/ENG-10119/alarm-tunnelbrokerproductionwebsocketerroralarm-in-us-east-ohio). The code here triggered an error because it kept sending messages probably before receiving [close](https://github.com/CommE2E/comm/blob/7649ca4931b29d3cabf0696271938a87651ecc40/services/tunnelbroker/src/websockets/mod.rs#L265) message. Test Plan: This is complicated to reproduce so just carefully reading the code as we are using exactly the same approach as [here](https://github.com/CommE2E/comm/blob/ed9275b0a10a9baa463681d03489b60f508162ab/services/tunnelbroker/src/amqp.rs#L164). I am going to test it more after deploying to staging. Reviewers: bartek Reviewed By: bartek Subscribers: ashoat, tomek Differential Revision: https://phab.comm.dev/D14254