Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

fix(serve): only restart workers if their exit was uninentional #468

Merged
merged 1 commit into from
Jun 6, 2018

Conversation

ggilmore
Copy link
Contributor

@ggilmore ggilmore commented Jun 6, 2018

Previously, the cluster's workers would restart even if the master intentionally called worker.kill(). The workers should only restart if they crashed, not if the master intended for them to die.

@ggilmore ggilmore requested a review from felixfbecker June 6, 2018 23:49
@codecov
Copy link

codecov bot commented Jun 6, 2018

Codecov Report

Merging #468 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #468   +/-   ##
=======================================
  Coverage   83.06%   83.06%           
=======================================
  Files          15       15           
  Lines        2043     2043           
  Branches      416      416           
=======================================
  Hits         1697     1697           
  Misses        344      344           
  Partials        2        2

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 faa787c...500948c. Read the comment docs.

@ggilmore ggilmore merged commit 7bda4cb into master Jun 6, 2018
@ggilmore ggilmore deleted the only-restart-intent branch June 6, 2018 23:54
@felixfbecker
Copy link
Contributor

🎉 This PR is included in version 2.9.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants