PostGres Hangfire is getting stop in exact 2 hour and 30 minutes

Tags: #<Tag:0x00007f5500f1f070>


I am using Hangfire Postgre for my recusive jobs. One of my job takes 7 hours to complete but Hangfire is getting stopped in 2 hours and 30 minutes, but if I am using only low time consuming jobs then it is working fine. When I am using SQL database then it works even for long running jobs, the issue is with only PostGres hangfire. Below are the version of Hangfire I am using in my project:

Hangfire Core Components: 1.6.1
Hangfire postgreSql Storage: 1.3.4
Hangfire SQL Server Storage: 1.6.1

Can any one please guide me on this issue?