From e5be6f6bd4a56fd78cee8e74e00e6c7b8a0a56d9 Mon Sep 17 00:00:00 2001 From: Joseph Milazzo Date: Sat, 10 May 2025 12:01:02 -0500 Subject: [PATCH] Disable Hangfire auto retry --- API/Startup.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/API/Startup.cs b/API/Startup.cs index 97eb9a2a4..cb32d1742 100644 --- a/API/Startup.cs +++ b/API/Startup.cs @@ -55,6 +55,9 @@ public class Startup { _config = config; _env = env; + + // Disable Hangfire Automatic Retry + GlobalJobFilters.Filters.Add(new AutomaticRetryAttribute { Attempts = 0 }); } // This method gets called by the runtime. Use this method to add services to the container.