ICommitTimeEntriesTo3E.Handle

// Job ID: #420909
using AG.A1.Scheduler.Billing.Contracts.Contracts;

var commitTimeEntriesTo3E = Activate<ICommitTimeEntriesTo3E>();
await commitTimeEntriesTo3E.Handle(
    FromJson<CommitTimeEntriesTo3ERequest>("{\"CommitAll\":false,\"TimeEntryIds\":[22367616,22367891,22367766,22368041,22367681,22367956,22367636,22367911,22367844,22368119,22367642,22367917,22367772,22368047,22367635,22367910,22367873,22368148,22367779,22368054,22367614,22367889,22367652,22367927,22367675,22367950,22367740,22368015,22367876,22368151,22367818,22368093,22367646,22367921,22367822,22368097,22367824,22368099,22367770,22368045,22367670,22367945,22367799,22368074,22367848,22368123,22367674,22367949,22367707,22367982,22367731,22368006,22367811,22368086,22367831,22368106,22367632,22367907,22367861,22368136,22367729,22368004,22367648,22367923,22367700,22367975,22367821,22368096,22367662,22367937,22367840,22368115,22367657,22367932,22367723,22367998,22367807,22368082,22367868,22368143,22367618,22367893,22367882,22368157,22367796,22368071,22367780,22368055,22367733,22368008,22367704,22367979,22367736,22368011,22367659,22367934,22367708,22367983,22367832,22368107],\"UserId\":5784,\"UserFullName\":\"Rhett Tynes\",\"UserWindowsId\":\"AG\\rtynes\",\"InputSource\":\"alliantONE\",\"SubmittedBy\":5784,\"IsAGTalent\":false}"),
    null,
    null);

Parameters

CurrentCulture
"en-US"
CurrentUICulture
"en-US"

State

4/10/2024 11:53:30 PM (+4m 59.217s) Failed

Failed to change state to a 'Succeeded' one due to an exception after 10 retry attempts

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.SqlServerConnection.AcquireLock(String resource, TimeSpan timeout)
   at Hangfire.SqlServer.SqlServerConnection.AcquireDistributedLock(String resource, TimeSpan timeout)
   at Hangfire.MAMQSqlExtension.MAMQSqlServerConnection.AcquireDistributedLock(String resource, TimeSpan timeout)
   at Hangfire.Storage.StorageConnectionExtensions.AcquireDistributedJobLock(IStorageConnection connection, String jobId, TimeSpan timeout)
   at Hangfire.States.BackgroundJobStateChanger.ChangeState(StateChangeContext context)
   at Hangfire.Server.Worker.TryChangeState(BackgroundProcessContext context, IStorageConnection connection, IFetchedJob fetchedJob, IState state, String[] expectedStates, CancellationToken initializeToken, CancellationToken abortToken)

+93ms Processing

Server:
wn1mdwk00024z:444
Worker:
759cb8ba

+7ms Enqueued

Queue:
a1-billing

4/10/2024 11:48:30 PM Created