Hi, how can I disable Hangfire (cancel or ignore
services.AddHangfireServer(...)) if storage connection (to Redis in this case) cannot be established on startup of a .NET Core web app.
At the moment, it throws an error:
InvalidOperationException: JobStorage.Current property value has not been initialized. You must set it before using Hangfire Client or Server API., if Redis was unavailable or down for any reason.