Hi there
We work with ASP .NET Core and are implementing hangfire through an SQL implementation. We have an API that has the HangfireServer instantiated in the Startup code of the project, and we have around 4 other applications that create the background jobs that we expect the API to execute for us to increase customer experience where we do not instantiate the HangfireServer.
The odd thing is, the applications that create the jobs sometimes run the process which I can see by failed jobs. As stated, we make sure not to instantiate the HangfireServer on the web form applications, so why would this be happening?
In order to instantiate the jobs on the relevant web applications, we do call services.AddHangfire to declare the database connection properties and other options like CommandBatchMaxTimeout etc.
Any advice or info would be greatly appreciated.
Thanks!