Bug: Every time when a new gRPC connection is created a new pair of opentelementry interceptors is also created. Those interceptors are not released when the connection is closed. Over time the number of allocated interceptors grows causing a slow memory leak. The leak is particularly pronounced in bunker service that repeatedly creates disposable bunker clients to access data in other regions.
Also an optional WithLogger parameter was added to the grpcconn.NewConnMgr
opentelementry
interceptors is also created. Those interceptors are not released when the connection is closed. Over time the number of allocated interceptors grows causing a slow memory leak. The leak is particularly pronounced inbunker
service that repeatedly creates disposablebunker
clients to access data in other regions.grpcconn.NewConnMgr