Hangfire.MemoryStorage
Hangfire.MemoryStorage copied to clipboard
A memory storage for Hangfire.
Using multiple instances of a 'test host' that arranges Hangfire using the 'MemoryStorage' provider
### Context I'm using a 'test host' based approach in some of my integration tests and each test case/method creates its own discrete instance. When registering Hangfire we're using the...
Hi i get the following error when using the MemoryStorage: ```c# 2019-09-03 12:02:23 [WARN] (Hangfire.Server.Worker) Slow log: Hangfire.DisableConcurrentExecutionAttribute performed "OnPerforming for e1e86681-70dc-484e-b7ba-015188696f79" in 60 sec 2019-09-03 12:02:23 [ERROR] (Hangfire.AutomaticRetryAttribute) Failed...
Hello, I have a problem regarding cleanning up the completed job. I tried to use the attribute to define the expiration/life time. ``` public class HangfireJobRentionAttribute : JobFilterAttribute, IApplyStateFilter {...
Hi i get the following error when using the MemoryStorage: > [ArgumentException: the same key already added.] > System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) +60 > System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) +5619817 >...
Hello I tried to use HangFire.Console to log items to the console. However with the HangFire.MemoryStorage no items showed up in the Processing tab of the job. Does MemoryStorage work...
We have more hangfire jobs than our system can process, so they pile up in a queue that never empties completely. We've noticed that the oldest jobs never get executed....
Saw this error in [OpenTelemetry.Instrumentation.Hangfire.Tests](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/tree/main/test/OpenTelemetry.Instrumentation.Hangfire.Tests). > System.InvalidOperationException > Collection was modified; enumeration operation may not execute. > at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource) > at System.Collections.Generic.List`1.Enumerator.MoveNextRare() > at System.Linq.Enumerable.All[TSource](IEnumerable`1 source, Func`2 predicate) >...
I created a console app using .NET Framework 4.8 and installed `Hangfire.Core` v1.8.11.0, and `Hangfire.Autofac`, `Autofac`, and this package. Everything builds, but then, upon execution, my app crashes with a...