Closed patriknw closed 1 year ago
I suspect what’s happening here is that the deserialisation of an unexpected message is causing the connection to be dropped, but then it is re-opened again before the last connection is cleaned up. I’ll throttle these such that the connections can’t be re-opened rapidly.
A convoluted way to reproduce this:
start samples/grpc/restaurant-drone-deliveries-service-scala
start samples/grpc/local-drone-control-scala
report location
stop local-drone-control-scala
start iot-service-rs, which will connect to the "invalid" restaurant-drone-deliveries-service-scala
Idle a few minutes
report location again, which iot-service-rs doesn't know about
That results in too many open files in iot-service-rs