Open babuscam opened 1 year ago
Yes, it's not possible to make two concurrent connections to Amazon from the same Connection.
We've resolved this using a shared semaphore.
e.g.
if (await _semaphoreSlim.WaitAsync(30000, cancellationToken))
{
// Some call the the connection
}
The answer to why does this only happen some times is "timing".
Hello, I have the following situation with the 1.7.1 version:
During the job run, from time to time, I get the following errors just for one store(the lines with orange are the same store)
Errors:
Index was outside the bounds of the array.
An item with the same key has already been added. Key: LastUpdatedAfter
An item with the same key has already been added. Key: LastUpdatedAfter
Is this because I am making in the same time 2 requests for the same endpoint? And why is not failing for all the stores in this case?