Skip to content

feat: graceful shutdown of request-node#463

Merged
benjlevesque merged 5 commits intomasterfrom
gracefully-stop-node
Apr 7, 2021
Merged

feat: graceful shutdown of request-node#463
benjlevesque merged 5 commits intomasterfrom
gracefully-stop-node

Conversation

@benjlevesque
Copy link
Contributor

@benjlevesque benjlevesque commented Mar 26, 2021

Description of the changes

Currently, shuting down a node running in Docker takes long time.

It is best practice to handle a graceful shutdown of an application, and reduces the deployment time significantly

unrelated change: removed some any that itched me 😁

@@ -14,7 +14,12 @@
"noUnusedLocals": true,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixes the Docker build (with the Dockerfile available in the monorepo)

@benjlevesque benjlevesque force-pushed the gracefully-stop-node branch from e3ca1e4 to b8ec6cc Compare March 26, 2021 15:27
@coveralls
Copy link

coveralls commented Mar 26, 2021

Coverage Status

Coverage remained the same at 90.038% when pulling f0533ad on gracefully-stop-node into 0cfc5ee on master.

Copy link
Contributor

@yomarion yomarion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good thing!

@siibars siibars removed their request for review March 31, 2021 09:03
@benjlevesque benjlevesque merged commit ba5b7c2 into master Apr 7, 2021
@benjlevesque benjlevesque deleted the gracefully-stop-node branch April 7, 2021 11:16
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.

4 participants