AddOrUpdate method takes longer time to respond

Tags: #<Tag:0x00007fb00715cbb0> #<Tag:0x00007fb00715bd00> #<Tag:0x00007fb007157bb0>


I have hangfire application for 2 recurring jobs. We have weekly server restart and on one day it failed to start hangfire application. Due to that hangfire servers were down and no jobs were getting processed. On investigation we found that RecurringJob.AddOrUpdate is taking longer time to complete due to which startup is getting timeout.
We tried by increasing startup time but issue persist. After changing connection string it started working. But our team have no clue what caused this issue.
Can anyone help me on this?

Thank you