Radar does not unsubscribe from resources in redis
vanchi-zendesk opened this issue · comments
Vanchi Koduvayur commented
Radar server keeps subscribing to new resources it is interested in. However, it never tracks when a resource is no longer needed and never unsubscribe from it in redis. This will cause performance issues after several days after seeing several resources later.
Nicolas Herment commented
Hey Vanchi,
It looks like the code is unsubscribing here and here when all clients have unsubscribed.
It also looks like the server cleans behind a client when it disconnects.
Vanchi Koduvayur commented
You are right. I think I was not looking at this too closely.