Sergey Odinokov
Sergey Odinokov
Will continue investigation a bit later, was struggling to install .NET 5.0 on Ubuntu 22.04 box, then struggling to install supported OpenSSL 1.X, now struggling to make SSL working to...
@joaozacharias can you also try to increase the .NET Core's `HostOptions.ShutdownTimeout` value as [written in this post](https://andrewlock.net/extending-the-shutdown-timeout-setting-to-ensure-graceful-ihostedservice-shutdown/#the-solution-increase-the-shutdown-timeout) at least to 20 seconds to be sure the host doesn't affect the...
> i have another "IHostedService" in my application with a Thread.Sleep But this can be the reason and if .NET Core allows one background service to block another ones during...
Switch to the recommended configuration – https://docs.hangfire.io/en/latest/configuration/using-sql-server.html#configuration – if you are on 1.7.X version, or just use the `SqlServerStorageOptions.SlidingInsibilityTimeout` to 5 minutes to use better fetching logic – I see...
Hello @schmitch, thank you for reporting this problem. I was unable to reproduce it by creating the recurring job in 1.6.9 and execute it in either 1.7.0 or 1.7.9, but...
Hm, I know one event that was 2022 years ago, but not sure whether it was triggered by Hangfire 🤗 Could you tell me what storage are you using and...
You can simply avoid using `AddHangfireServer` method and use `BackgroundJobServerHostedService` class that implements the `IHostedService` interface explicitly and register it as a hosted service manually. ```csharp services.AddSingleton(provider => new BackgroundJobServerHostedService(...
This wiring code is mostly for backward compatibility, because different places were used to get the services in different versions, and this is an attempt to guess the right thing....
You can run the static server instance and call its `Stop`/`Start` methods. But currently it is possible only with application logic (no built-in support).
Yes, those methods were deprecated. Simply dispose and recreate an instance of the `BackgroundJobServer` class to use this functionality.