-
Notifications
You must be signed in to change notification settings - Fork 281
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
Heartbeat doesn't work for short-running WorkerServices (<30 sec) - FlushAsync won't sent the heartbeat #2759
Labels
Comments
304NotModified
changed the title
Heartbeat doens't work for short runnings WorkerServices (<30 sec) - FlushAsync doesn't sent heartbeats
Heartbeat doens't work for short-running WorkerServices (<30 sec) - FlushAsync doesn't sent heartbeats
Apr 3, 2023
304NotModified
changed the title
Heartbeat doens't work for short-running WorkerServices (<30 sec) - FlushAsync doesn't sent heartbeats
Heartbeat doens't work for short-running WorkerServices (<30 sec) - FlushAsync won't sent the heartbeat
Apr 3, 2023
2 tasks
This issue is stale because it has been open 300 days with no activity. Remove stale label or this will be closed in 7 days. Commenting will instruct the bot to automatically remove the label. |
Yes indeed, im still waiting for a response... |
A fix is here: #2762 |
@TimothyMothra could you please help me in getting a reaction/get the fix (#2762) merged? |
304NotModified
changed the title
Heartbeat doens't work for short-running WorkerServices (<30 sec) - FlushAsync won't sent the heartbeat
Heartbeat doesn't work for short-running WorkerServices (<30 sec) - FlushAsync won't sent the heartbeat
Feb 22, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
It seams that the heartbeat isn't working for applications that run shorter than 30 seconds, even when FlushAsync is called.
To Reproduce
finally
Sometimes it's too late.
The traces are sent really earlier (29 sec)
I tried lowering the HeartbeatInterval, but 30 seconds is the lowest possible value?
So the FlushAsync doesn't seem to send the heartbeat, that's the bug.
Is there a way to send the heartbeat manually?
Work around:
await Task.Delay(TimeSpan.FromSeconds(45));
- we don't really like this. The job needs 5 seconds, and now 50 (10 times!)Related: #1689, #407
The text was updated successfully, but these errors were encountered: