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

Improved the graceful shutdown and restart section and removed dead code #2288

Merged
merged 1 commit into from
Mar 22, 2020
Merged

Improved the graceful shutdown and restart section and removed dead code #2288

merged 1 commit into from
Mar 22, 2020

Conversation

zignd
Copy link
Contributor

@zignd zignd commented Mar 21, 2020

The initial purpose was to remove the dead code from the example. Still, I hooked up a few improvements as well, such as comments in the code and the text structure separating the usage of third-party libraries from the usage of the built-in packages to handle it manually.

I also changed the term "graceful stop" to graceful shutdown, which seems to be more common in the web, therefore, it would make it easier to find the text.

Related pull request gin-gonic/examples#33

@codecov
Copy link

codecov bot commented Mar 21, 2020

Codecov Report

Merging #2288 into master will not change coverage by %.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2288   +/-   ##
=======================================
  Coverage   98.47%   98.47%           
=======================================
  Files          41       41           
  Lines        2298     2298           
=======================================
  Hits         2263     2263           
  Misses         20       20           
  Partials       15       15           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 73ccfea...f471071. Read the comment docs.

@appleboy appleboy merged commit c4fd248 into gin-gonic:master Mar 22, 2020
@zignd zignd deleted the improv-grace branch March 22, 2020 02:59
pull bot pushed a commit to scope-demo/gin that referenced this pull request Mar 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants