Skip to content

Conversation

@osterman
Copy link
Contributor

@osterman osterman commented Jan 29, 2019

what

  • Gracefully exit the right way
  • Rename /boom endpoint to /shutdown (more professional and clear)
  • Use log.Printf instead of fmt.Printf for logging so we get date/time
  • Added updated deploy.yaml (forgot to commit)

why

  • Exiting using a system call causes process to exit before buffer is flushed

@osterman osterman requested review from aknysh and goruha January 29, 2019 05:26
@osterman osterman merged commit 1000755 into master Jan 29, 2019
@osterman osterman deleted the fix-shutdown branch January 29, 2019 05:46
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.

3 participants