ari-proxy icon indicating copy to clipboard operation
ari-proxy copied to clipboard

Attempt to fix leak

Open mtryfoss opened this issue 5 years ago • 0 comments

This is an approach to fix leaking subscriptions.

I've tested it with about thousand normal calls and it show no leak using pprof yet. I'm going to test a lot more, but I would like your opinions.

Much of the code is pulled from ari/stdbus.

It still doesn't close unused NATS-subscriptions, but I find that not a big issue since they anyway are reused.


This change is Reviewable

mtryfoss avatar Jul 01 '20 13:07 mtryfoss