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

Graceful Shutdown #40

Open
olibanjoli opened this issue Apr 3, 2017 · 0 comments
Open

Graceful Shutdown #40

olibanjoli opened this issue Apr 3, 2017 · 0 comments
Labels
Milestone

Comments

@olibanjoli
Copy link
Contributor

Shutdown Jobbr Server while waiting for all jobs to finish while not scheduling new jobs.

Implementation details:

  • use Stop() method of JobbrServer; Add bool force=false parameter
  • jobbr/status should indicate if shutdown is happening ("Shutting down")
  • Add route to POST jobbr/status { Shutdown: true }
  • Add Shutdown method to the Jobbr.Client

related: #31

@olibanjoli olibanjoli added this to the 1.1 milestone Apr 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant