IScheduledDayAheadTransferSyncJob.Run

// Id: #196456
using EnergyDataHub.Data.Hangfire.Jobs;

var scheduledDayAheadTransferSyncJob = Activate<IScheduledDayAheadTransferSyncJob>();
await scheduledDayAheadTransferSyncJob.Run();

Parameters

CurrentCulture
""
CurrentUICulture
""
RecurringJobId
"IScheduledDayAheadTransferSyncJob"
Time
1775787302

State

04/10/2026 03:26:02 (+2.277s) Failed

An exception occurred during performance of the job.

System.InvalidOperationException (edh:1332730)

Could not get a value of the job parameter `CurrentCulture`. See inner exception for details.

System.InvalidOperationException: Could not get a value of the job parameter `CurrentCulture`. See inner exception for details. ---> Npgsql.PostgresException: 53300: sorry, too many clients already
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Npgsql.Internal.NpgsqlConnector.Authenticate(String username, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.Internal.NpgsqlConnector.<Open>g__OpenCore|213_1(NpgsqlConnector conn, SslMode sslMode, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken, Boolean isFirstAttempt)
   at Npgsql.Internal.NpgsqlConnector.Open(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.PoolingDataSource.OpenNewConnector(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.PoolingDataSource.<Get>g__RentAsync|33_0(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.NpgsqlConnection.<Open>g__OpenAsync|42_0(Boolean async, CancellationToken cancellationToken)
   at Hangfire.PostgreSql.PostgreSqlStorage.CreateAndOpenConnection()
   at Hangfire.PostgreSql.PostgreSqlStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
   at Hangfire.Server.PerformContext.GetJobParameter[T](String name, Boolean allowStale)

   --- End of inner exception stack trace ---
   at Hangfire.Server.PerformContext.GetJobParameter[T](String name, Boolean allowStale)
   at Hangfire.CaptureCultureAttribute.OnPerforming(PerformingContext context)
   at Hangfire.Server.BackgroundJobPerformer.InvokeOnPerforming(KeyValuePair`2 ctx)

+1h 10m Processing

Server:
edh:1332730
Worker:
409e61d0

+17ms Enqueued

Triggered by recurring job scheduler

04/10/2026 02:15:02 Created