// Id: b44e4f7a-f619-4f3d-8d2f-84a3c173646d
using NP.FRIDA.BackgroundJob;
var sendEmailJobMultiTenant = Activate<SendEmailJobMultiTenant>();
await sendEmailJobMultiTenant.ExecuteJob("test-malmo");
| Time | |
| RecurringJobId | |
| CurrentCulture | |
| CurrentUICulture | |
An exception occurred during performance of the job.
Timeout expired. The timeout elapsed prior to obtaining a distributed lock on the 'Failed to acquire lock on {bgjobs:hangfire:test-malmo}:SendEmailJobMultiTenant.ExecuteJob within given timeout (00:05:00)' resource.
Hangfire.Storage.DistributedLockTimeoutException: Timeout expired. The timeout elapsed prior to obtaining a distributed lock on the 'Failed to acquire lock on {bgjobs:hangfire:test-malmo}:SendEmailJobMultiTenant.ExecuteJob within given timeout (00:05:00)' resource.
at Hangfire.Redis.StackExchange.RedisLock.Acquire(IDatabase redis, RedisKey key, TimeSpan timeOut, TimeSpan holdDuration)
at Hangfire.DisableConcurrentExecutionAttribute.OnPerforming(PerformingContext context) in C:\projects\hangfire-525\src\Hangfire.Core\DisableConcurrentExecutionAttribute.cs:line 48
at Hangfire.Server.BackgroundJobPerformer.InvokeOnPerforming(KeyValuePair`2 ctx) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 198
Triggered by recurring job scheduler