Commit 99ac46e 1 parent 5ff6f3f commit 99ac46e Copy full SHA for 99ac46e
File tree 1 file changed +20
-0
lines changed
1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -48,3 +48,23 @@ zuplo deploy --environment my-env-name
48
48
49
49
zuplo deploy --no-verify-remote
50
50
```
51
+
52
+ ## Polling Timeout
53
+
54
+ By default, the deploy command will poll the status of the deployment every
55
+ second for 150 seconds. For most deployments this is enough time for the build
56
+ and deploy process to complete. However, if you have a large project, this may
57
+ not be enough time. You can increase the timeout by setting the following
58
+ environment variables.
59
+
60
+ - ` POLL_INTERVAL ` - The interval in seconds between each poll. Default is 1
61
+ second.
62
+ - ` MAX_POLL_RETRIES ` - The maximum number of retries before the command times
63
+ out. Default is 150.
64
+
65
+ ``` bash
66
+ POLL_INTERVAL=5000 MAX_POLL_RETRIES=300 zuplo deploy
67
+ ```
68
+
69
+ Note, that even if the CLI times out, the deployment will continue. You can
70
+ check the status of the deployment in the Zuplo portal.
You can’t perform that action at this time.
0 commit comments