Hangfire DisableConcurrentExecution behaviour

Original source:¬†https://github.com/HangfireIO/Hangfire/issues/685   Simple reproduction of this: public class HomeController : Controller { public string Run() { for (int i = 0; i < 2; i++) BackgroundJob.Enqueue(() => Services.Service1.Task()); return “ok”; } } public class Service1 { [DisableConcurrentExecution(timeoutInSeconds: 5)] [AutomaticRetry(Attempts = 0)] public static void Task() { string guid = Guid.NewGuid().ToString(); string contents = guid … Read moreHangfire DisableConcurrentExecution behaviour