HangfireIO / Hangfire

An easy way to perform background job processing in .NET and .NET Core applications. No Windows Service or separate process required
https://www.hangfire.io
Other
9.44k stars 1.71k forks source link

Setting AutomaticRetryAttribute.DelayInSecondsByAttemptFunc #2459

Open mikeholczer opened 1 month ago

mikeholczer commented 1 month ago

Is there anyway to set AutomaticRetryAttribute.DelayInSecondsByAttemptFunc without using reflection?

https://github.com/HangfireIO/Hangfire/blob/b841265e28a9defead3b52eb1d589d4fa3300827/src/Hangfire.Core/AutomaticRetryAttribute.cs#L166-L179