-
Notifications
You must be signed in to change notification settings - Fork 475
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
Shutting down tempo always takes at least 30 seconds #2353
Comments
Oof, that's no good. Ideally we'd review the comment and determine if that sleep is even necessary anymore. For an easier win, I'm fine with making that configurable. 30s is a LONG time to wait for requests to finish processing. Good find. |
This issue has been automatically marked as stale because it has not had any activity in the past 60 days. |
This issue has been automatically marked as stale because it has not had any activity in the past 60 days. |
Still a problem I believe |
Just stumble upon this and yes this problem is still present in the latest version The default timeout also conflicts with docker compose (if you deploy it that way) default stop_grace_period of 10s which always causes a Would be great if someone could give #2604 another go, so we can at least manage the hardcoded value |
Describe the bug
Shutting down the tempo service takes 30 seconds. This is annoying when rebooting because it holds up the reboot. I assume it's because of this code in the distributor that just sleeps for 30 seconds
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should shut down when all requests have been properly processed
Environment:
I'm running tempo in a systemd service on NixOS, the configuration for it can be found here: https://github.com/NixOS/nixpkgs/blob/master/pkgs/servers/tracing/tempo/default.nix
The text was updated successfully, but these errors were encountered: