I know this issue should goto hangfire repo but I want to check if anyone here is facing same issue. I could not find an accurate solution to the issue.
I tried setting InvisibilityTimeout and SlidingInvisibilityTimeoutbut that caused another issue:
Some developers have mentioned some problems in the recent version of Hangfire. You can try the latest hangfire.
Of course, if there are projects that can reproduce the problem, it will be the best.
I updated the hangfire packages. Seems to be working fine now. Thanks :)