Created
August 2, 2016 08:00
-
-
Save jerith/0517cdae12ac5a1305fbbfed7016575d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/mc2/controllers/docker/models.py b/mc2/controllers/docker/models.py | |
index a4bdb36..a4a84e7 100644 | |
--- a/mc2/controllers/docker/models.py | |
+++ b/mc2/controllers/docker/models.py | |
@@ -80,6 +80,13 @@ class DockerController(Controller): | |
} | |
}) | |
+ # Some sensible backoff parameters | |
+ app_data.update({ | |
+ "backoffFactor": 1.5, | |
+ "backoffSeconds": 2, | |
+ "maxLaunchDelaySeconds": 3600, | |
+ }) | |
+ | |
if self.marathon_health_check_path: | |
app_data.update({ | |
"ports": [0], |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment