We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdd9f4c commit 07e6cc9Copy full SHA for 07e6cc9
1 file changed
WebApplication1/Extensions/ServiceCollectionExtensions.cs
@@ -92,6 +92,7 @@ public static IServiceCollection AddJwtAuthentication(this IServiceCollection se
92
93
public static IServiceCollection AddHangfireServices(this IServiceCollection services, IConfiguration configuration)
94
{
95
+ GlobalJobFilters.Filters.Add(new AutomaticRetryAttribute { Attempts = 0 , OnAttemptsExceeded = AttemptsExceededAction.Delete });
96
services.AddHangfire(config => config
97
.SetDataCompatibilityLevel(CompatibilityLevel.Version_180)
98
.UseSimpleAssemblyNameTypeSerializer()
0 commit comments