marcoCasamento/Hangfire.Redis.StackExchange

Job history is causing high memory consumption of Redis

walter-psjr opened this issue · 1 comments

Hi!

I have an application running Hangfire with this library for storage on Redis for about a month. We noticed that the memory consumption is increasing more and more, now we have 2 million keys in Redis and this has become a problem. I realized that most of these keys are history records.

I would like to know if there is any configuration or if this is a problem, to limit or eliminate these history, because this way our Redis instance is already at the limit and we will not be able to continue using it like this.

Thanks

sorry I forgot about this, I'm sure you found the solution yourself, if not, have a look at: https://discuss.hangfire.io/t/how-to-configure-the-retention-time-of-job/34