marcoCasamento / Hangfire.Redis.StackExchange

HangFire Redis storage based on original (and now unsupported) Hangfire.Redis but using lovely StackExchange.Redis client
Other
456 stars 109 forks source link

Pub/sub subscriptions in RedisConnection doesn't released #31

Closed WebApelsin closed 7 years ago

WebApelsin commented 7 years ago

Each instance of the RedisConnection creates a subscription to the redis JobFetchChannel which doesn't released within the object disposal. This leads to CPU usage spikes when the new job arrives and also prevents GC to release memory resources.

WebApelsin commented 7 years ago

I think the issue can be closed in respect with the merged fix.