UpdateExpiredUserRewardsTask.ExecuteJob

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

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

Parameters

CurrentCulture
""
CurrentUICulture
""
RecurringJobId
"UpdateExpiredUserRewardsTask"
Time
1747073617

State

05/12/2025 18:14:28 (+38.214s) 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)

+1.213s Processing

Server:
scheduler-api-84864d4476-pcqq5:1
Worker:
536b1aa1

+30ms Enqueued

Triggered by recurring job scheduler

Queue:
default

05/12/2025 18:13:49 Created