From 7d73f61cd3ac188662a7f1cf3857c436a5f0a342 Mon Sep 17 00:00:00 2001 From: Trevor Turk Date: Thu, 3 Mar 2016 12:25:12 -0600 Subject: [PATCH] Checks doc: add a section about disabling the default wait time when running multiple processes re #1964 --- docs/checks-examples.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/checks-examples.md b/docs/checks-examples.md index 5f41d1a5a..244afa06c 100644 --- a/docs/checks-examples.md +++ b/docs/checks-examples.md @@ -91,6 +91,12 @@ dokku config:set --global DOKKU_CHECKS_WAIT=15 dokku config:set --global DOKKU_CHECKS_ATTEMPTS=2 ``` +If your application runs multiple processes (a background worker configured in a `Procfile`, for example) you may want to disable the default check wait time for that application to avoid the `10` second default delay per process: + +```shell +dokku config:set DOKKU_DEFAULT_CHECKS_WAIT=0 +``` + ## Example: Successful Rails Deployment In this example, a rails applicaiton is successfully deployed to dokku. The initial round of checks fails while the server is starting, but once it starts they succeed and the deployment is successful. `ATTEMPTS` is set to 6, but the third attempt succeeds.