In EventObserver::send_payload, we regularly see the event dispatcher get blocked waiting for TcpStream::connect(&self.endpoint) with the async_std::net::TcpStream. I previously attempted to handle this by adding the use of async_std::future::timeout, but this does not work. The thread will get stuck there, then crash after 60 minutes.
In
EventObserver::send_payload
, we regularly see the event dispatcher get blocked waiting forTcpStream::connect(&self.endpoint)
with theasync_std::net::TcpStream
. I previously attempted to handle this by adding the use ofasync_std::future::timeout
, but this does not work. The thread will get stuck there, then crash after 60 minutes.