UpdateExpiredUserRewardsTask.ExecuteJob

// Job ID: #97333168
using DPoint.Scheduler.Infrastructure.Tasks;

var updateExpiredUserRewardsTask = Activate<UpdateExpiredUserRewardsTask>();
await updateExpiredUserRewardsTask.ExecuteJob();

Parameters

CurrentCulture
""
CurrentUICulture
""
RecurringJobId
"UpdateExpiredUserRewardsTask"
Time
1733389771

State

12/05/2024 09:10:20 (+31.117s) Failed

An exception occurred during processing of a background job.

System.InvalidOperationException

Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.

System.InvalidOperationException: Timeout expired.  The timeout period elapsed prior to obtaining a connection from the pool.  This may have occurred because all pooled connections were in use and max pool size was reached.
   at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
   at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
   at System.Data.SqlClient.SqlConnection.Open()
   at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
   at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
   at Hangfire.SqlServer.SqlServerConnection.GetJobData(String id)
   at Hangfire.Server.Worker.PerformJob(BackgroundProcessContext context, IStorageConnection connection, String jobId)

+5.883s Processing

Server:
scheduler-api-7cdc67868f-z6l8z:1
Worker:
d49aaeab

+37ms Enqueued

Triggered by recurring job scheduler

Queue:
default

12/05/2024 09:09:43 Created