UpdateSuplliersLinkProductByEanCode.UpdateSuplliersLinkProductsByEanCode

The job is finished. It will be removed automatically 07/05/2025 06:40:55.
// Id: #140968
using Warehouse.Inventory.Api.Schedules;

var updateSuplliersLinkProductByEanCode = Activate<UpdateSuplliersLinkProductByEanCode>();
await updateSuplliersLinkProductByEanCode.UpdateSuplliersLinkProductsByEanCode(null);

Parameters

RetryCount
1
RecurringJobId
"Vincular-Produto-EanCode-Omie"
Time
1751611201
CurrentCulture
""
CurrentUICulture
""

State

07/04/2025 06:40:55 (+18.452s) Succeeded

Latency:
35.856s
Duration:
18.434s

+73ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
b70669de

+23.392s Enqueued

Triggered by DelayedJobScheduler

+4ms Scheduled

Retry attempt 1 of 10: Exception of type 'System.OutOfMemoryException' w…

Enqueue at:
07/04/2025 06:40:29

+12.267s Failed

An exception occurred during performance of the job.

System.OutOfMemoryException (dashboard warehouse_inventory:1)

Exception of type 'System.OutOfMemoryException' was thrown.

System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Collections.Generic.Dictionary`2.Resize(Int32 newSize, Boolean forceNewHashCodes)
   at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
   at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
   at Warehouse.Inventory.Data.Repositories.SupplierInvoiceRepository.GetByWithoutEanCode() in /src/src/Warehouse.Inventory.Data/Repositories/SupplierInvoiceRepository.cs:line 174
   at Warehouse.Inventory.Application.Handlers.Suppliers.UpdateLinkProductByEanCodeCommandHandler.Handle(UpdateLinkProductByEanCodeCommand request, CancellationToken cancellationToken) in /src/src/Warehouse.Inventory.Application/Handlers/Suppliers/UpdateLinkProductByEanCodeCommandHandler.cs:line 29
   at Mottu.Zika.Core.Validation.CommandPipelineValidationBehavior`2.Handle(TRequest request, RequestHandlerDelegate`1 next, CancellationToken cancellationToken)
   at Mottu.Zika.Core.Mediator.MediatorHandler.SendCommand[T,TResponse](T command, CancellationToken cancellationToken)
   at Warehouse.Inventory.Api.Schedules.UpdateSuplliersLinkProductByEanCode.UpdateSuplliersLinkProductsByEanCode(PerformContext context) in /src/src/Warehouse.Inventory.Api/Schedules/UpdateSuplliersLinkProductByEanCode.cs:line 28
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+58ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
1e4e4dd1

+54ms Enqueued

Triggered by recurring job scheduler

07/04/2025 06:40:01 Created