You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Azure Cosmos DB state store and the SaveBulkStateAsync() to save bulk records, but an exception (context deadline exceeded) is thrown when the call takes more than 20 seconds(ish).
From cosmosdb.go code, it looks like there is a default timeout of 20 seconds.
All of the functions (Get, Set, Delete, ...) except BulkGet are using defaultTimeout to set the context timeout.
Is that the reason why my call fails?
Does that mean all the Azure Cosmos DB state store calls timeout after 20 seconds?
Is there any way to change this timeout?
Thank you!
The text was updated successfully, but these errors were encountered:
@koumdev It looks to me like it's a hardcoded 20s timeout in the component itself. I'd file an issue in dapr/components-contrib and ask these questions. In any case, it's unlikely to be specific to the .NET SDK.
Ask your question here
Hello,
I'm using Azure Cosmos DB state store and the SaveBulkStateAsync() to save bulk records, but an exception (
context deadline exceeded
) is thrown when the call takes more than 20 seconds(ish).From cosmosdb.go code, it looks like there is a default timeout of 20 seconds.
All of the functions (
Get
,Set
,Delete
, ...) exceptBulkGet
are usingdefaultTimeout
to set the context timeout.Thank you!
The text was updated successfully, but these errors were encountered: