Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FollowJobRetentionPolicy not working with Hangfire.Pro.Redis #113

Open
vdolek opened this issue Sep 24, 2021 · 0 comments
Open

FollowJobRetentionPolicy not working with Hangfire.Pro.Redis #113

vdolek opened this issue Sep 24, 2021 · 0 comments

Comments

@vdolek
Copy link

vdolek commented Sep 24, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant