HangfireIO / Hangfire

An easy way to perform background job processing in .NET and .NET Core applications. No Windows Service or separate process required
https://www.hangfire.io
Other
9.43k stars 1.7k forks source link

Issue Job Enqueued count incorrect/mismatch #2451

Closed yadurajshakti closed 1 month ago

yadurajshakti commented 1 month ago

Hi Team,

We are facing this issue of enqueued count incorrect/mismatch as you can see in the screenshot below. We could not find any solution in hangfire forum or github yet. Please help us in providing explanations on this behavior and possible fix.

image

We are using .Net Core 7.0 and PostgreSQL. Hangfire package and version used in the solution are: "Hangfire.AspNetCore" Version="1.8.0" "Hangfire.Core" Version="1.8.0" "Hangfire.PostgreSql" Version="1.19.12"

One observation is: The job is moved from the queue, but its state not changed to either success or failed. image

yadurajshakti commented 1 month ago

Moving the issue to hangfire-postgres: https://github.com/hangfire-postgres/Hangfire.PostgreSql/issues/377