Hello,
I get this error when using throttling (Hangfire.Throttling 1.4.2 on dotnet 10) on a Redis database.
System.InvalidOperationException: Dynamic Window 'mobileiron:application' doesn't exist. Use ThrottlingManager.AddOrUpdateDynamicWindow method to add Dynamic Window.
at Hangfire.Throttling.DynamicWindowAttribute.TryAcquire(ElectStateContext context, Int64 timestamp, JobStorageConnection connection, TimeSpan& minimumDelay)
at Hangfire.Throttling.ThrottlingAttribute.TryAcquireThrottlers(ElectStateContext context, IEnumerable`1 throttlers, ICollection`1& failedThrottlers)
at Hangfire.Throttling.ThrottlingAttribute.AcquireThrottlers(ElectStateContext context)
at Hangfire.States.StateMachine.InvokeOnStateElection(KeyValuePair`2 x)
altough it exists :
Here is how I call it :
[DynamicWindow(“mobile_iron”, “metrics”)]
public async Task ExecuteAsync(
So is it possible somewhere in my upgrade of package, the normalization of the window id had a broken change ? (in the logs it’s mobileiron instead of mobile_iron).
Or that the ‘_’ is trimmed but only on the attribute creating a mismatch ?
