DeleteDraftJobsTask.StartDeleteDraftJobs

// Id: #537757
using MR.Schedules;

await DeleteDraftJobsTask.StartDeleteDraftJobs();

Parameters

CurrentCulture
""
CurrentUICulture
""
RecurringJobId
"StartDeleteDraftJobs"
Time
1720714861

State

07/11/2024 16:24:13 (+1m 21.097s) Failed

An exception occurred during performance of the job.

System.InvalidOperationException (81d02f9a-1a88-4fca-b5ee-365cf0065f72)

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.NpgsqlException (0x80004005): Exception while reading from stream
 ---> System.TimeoutException: Timeout during reading attempt
   at Npgsql.Internal.NpgsqlReadBuffer.<Ensure>g__EnsureLong|41_0(NpgsqlReadBuffer buffer, Int32 count, Boolean async, Boolean readingNotifications)
   at Npgsql.Internal.NpgsqlConnector.RawOpen(SslMode sslMode, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.Internal.NpgsqlConnector.<Open>g__OpenCore|193_1(NpgsqlConnector conn, SslMode sslMode, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.Internal.NpgsqlConnector.Open(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.ConnectorPool.OpenNewConnector(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.ConnectorPool.<Get>g__RentAsync|31_0(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.NpgsqlConnection.<Open>g__OpenAsync|45_0(Boolean async, CancellationToken cancellationToken)
   at Npgsql.NpgsqlConnection.Open()
   at Hangfire.PostgreSql.PostgreSqlStorage.CreateAndOpenConnection()
   at Hangfire.PostgreSql.PostgreSqlStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
   at Hangfire.PostgreSql.PostgreSqlConnection.GetJobParameter(String id, String name)
   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.Profiling.ProfilerExtensions.InvokeAction[TInstance](InstanceAction`1 tuple)
   at Hangfire.Profiling.SlowLogProfiler.InvokeMeasured[TInstance,TResult](TInstance instance, Func`2 action, String message)
   at Hangfire.Profiling.ProfilerExtensions.InvokeMeasured[TInstance](IProfiler profiler, TInstance instance, Action`1 action, String message)
   at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilter filter, PerformingContext preContext, Func`1 continuation)

+1m 15.097s Processing

Server:
81d02f9a-1a88-4fca-b5ee-365cf0065f72
Worker:
2cea6d7c

+28.610s Enqueued

Triggered by recurring job scheduler

07/11/2024 16:21:09 Created