Close project if one one the compute of the project is down

Fix #836
This commit is contained in:
Julien Duponchelle committed 2016-12-15 21:57:59 +01:00
1 parent 60eea1f171
commit 3259ec1220
6 files changed
+32 -13

No files matched your search

+1 -1
View File
@@ -425,7 +425,7 @@ class Node:
Stop a node
"""
try:
yield from self.post("/stop", timeout=240)
yield from self.post("/stop", timeout=240, dont_connect=True)
# We don't care if a node is down at this step
except (ComputeError, aiohttp.errors.ClientHttpProcessingError, aiohttp.web.HTTPError):
pass