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
{{ message }}
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.
AcceptMessageSession takes from 5ms to more than 2 minutes - timeout was set to 10ms, 30ms and to default one.
Expected Behavior
We're trying to read messages from Servicebus in Azure environment. Our process is run inside Durable Functions framework and it sometimes fails with FunctionTimeoutException.
We find out that there is a problem with AcceptMessageSession.
Our workflow:
receive all messages for specific session
save data into database
complete all messages from session at once and go to other session
From time to time AcceptMessageSession takes a lot of time (in minutes): in last process run there were 3 AcceptMessageSession invocation which takes from 1 to 3 minutes and 17 invocations which takes less than 10 ms.
We thought that Servicebus will throw exception when methods is taking more than expected.
Versions
OS platform and version: Azure, azurefunctions: 2.0.12408.0
.NET Version: .NET Core 2.1
NuGet package version or commit ID: Microsoft.Azure.ServiceBus 3.4.0
The text was updated successfully, but these errors were encountered:
rybczak
changed the title
AcceptMessageSession taks from 5 ms to more than 2 minutes
AcceptMessageSession takes from 5 ms to more than 2 minutes without Timeout exception
Apr 23, 2019
rybczak
changed the title
AcceptMessageSession takes from 5 ms to more than 2 minutes without Timeout exception
AcceptMessageSession takes from 5 ms to more than few minutes without Timeout exception
Apr 23, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Actual Behavior
Expected Behavior
We're trying to read messages from Servicebus in Azure environment. Our process is run inside Durable Functions framework and it sometimes fails with FunctionTimeoutException.
We find out that there is a problem with AcceptMessageSession.
Our workflow:
From time to time AcceptMessageSession takes a lot of time (in minutes): in last process run there were 3 AcceptMessageSession invocation which takes from 1 to 3 minutes and 17 invocations which takes less than 10 ms.
We thought that Servicebus will throw exception when methods is taking more than expected.
Versions
The text was updated successfully, but these errors were encountered: