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

scollector: handle SIGINT for somewhat graceful shutdown #1342

Merged
merged 2 commits into from
Sep 23, 2015

Conversation

captncraig
Copy link
Contributor

On SIGINT scollector will:

  1. attempt to stop all running collectors. Any collector in a waiting state will immediately return.
  2. Attempt to flush all queued datapoints to opentsdb.
  3. Exit no matter what after 5 seconds.

@alienth
Copy link
Contributor

alienth commented Sep 22, 2015

lgtm 🐟

captncraig pushed a commit that referenced this pull request Sep 23, 2015
scollector: handle SIGINT for somewhat graceful shutdown
@captncraig captncraig merged commit 5713fc4 into master Sep 23, 2015
@gbrayut gbrayut deleted the gracefulShutdown branch September 25, 2015 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants