-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
feat: support graceful shutdown (#2469) #2475
Conversation
Optimize the code to support graceful shutdown, and add configuration `server.gracefulShutdownTimeout` to allow users to customize the timeout, the default value is `5`(seconds).
Codecov ReportPatch coverage:
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more Additional details and impacted files@@ Coverage Diff @@
## master #2475 +/- ##
=======================================
Coverage 79.98% 79.98%
=======================================
Files 599 599
Lines 49785 49793 +8
=======================================
+ Hits 39821 39829 +8
- Misses 8007 8010 +3
+ Partials 1957 1954 -3
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Optimize the code to support graceful shutdown, and add configuration
server.gracefulShutdownTimeout
to allow users to customize the timeout, the default value is5
(seconds).