Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The consumer logs timeout even is still receiving messages #56

Open
Gsantomaggio opened this issue Aug 30, 2024 · 0 comments
Open

The consumer logs timeout even is still receiving messages #56

Gsantomaggio opened this issue Aug 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Gsantomaggio
Copy link
Member

Describe the bug

The consumer logs:

Message? nativeMessage = await _receiverLink.ReceiveAsync(timeout).ConfigureAwait(false);
if (nativeMessage is null)
{
// this is not a problem, it is just a timeout.
// the timeout is set to 60 seconds.
// For the moment I'd trace it at some point we can remove it
Trace.WriteLine(TraceLevel.Verbose,
$"{ToString()}: Timeout {timeout.Seconds} s.. waiting for message.");
continue;
}
_unsettledMessageCounter.Increment();

even it is still consuming messages

Reproduction steps

Execute some long running consuming

Expected behavior

It should not go in timeout

Additional context

There aren't side effects btw. All the messages are consumed correctly without problems

@Gsantomaggio Gsantomaggio added the bug Something isn't working label Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant