I am using Hangfire.Console and I have problem with console retention with FollowJobRetentionPolicy set to true (by default). I assume that when I delete a job, it should set TTL parameter to the Redis key (same as job Redis key), but this does not happen. Redis keys with console log have always TTL empty, so the console logs are never deleted and consumes a lot of Redis memory.
Used versions: Hangfire.Core 1.7.24, Hangfire.Console 1.4.2, Hangfire.Pro 2.3.0 and Hangfire.Pro.Redis 2.8.10.
I am using
Hangfire.Console
and I have problem with console retention withFollowJobRetentionPolicy
set totrue
(by default). I assume that when I delete a job, it should set TTL parameter to the Redis key (same as job Redis key), but this does not happen. Redis keys with console log have always TTL empty, so the console logs are never deleted and consumes a lot of Redis memory.Used versions:
Hangfire.Core 1.7.24
,Hangfire.Console 1.4.2
,Hangfire.Pro 2.3.0
andHangfire.Pro.Redis 2.8.10
.