diff --git a/docs/features/restart-strategies.md b/docs/features/restart-strategies.md index 13537cf..0e4d319 100644 --- a/docs/features/restart-strategies.md +++ b/docs/features/restart-strategies.md @@ -7,7 +7,7 @@ permalink: /docs/usage/restart-strategies/ ## Exponential Backoff Restart Delay -A new restart mode has been implemented on PM2 Runtime, making your application restarts in a smarter way. Instead of restarting your application like crazy when exceptions happens (e.g. database is down), the *exponential backoff restart* will increase incrementaly the time between restarts, reducing the pressure on your DB or your external provider... Pretty easy to use: +A new restart mode has been implemented on PM2 Runtime, making your application restart in a smarter way. Instead of restarting your application like crazy when exceptions happens (e.g. database is down), the *exponential backoff restart* will increase incrementally the time between restarts, reducing the pressure on your DB or your external provider... Pretty easy to use: CLI: ```bash @@ -22,7 +22,7 @@ module.exports = [{ }] ``` -When an application crash unexpectedly and the option `--exp-backoff-restart-delay` is activated, you will be able to see a new application status **waiting restart**. +When an application crashes unexpectedly and the option `--exp-backoff-restart-delay` is activated, you will be able to see a new application status **waiting restart**. By running `pm2 logs` you will also see the restart delay being incremented: ``` @@ -35,7 +35,7 @@ PM2 | App [throw:0] will restart in 225ms As you can see the restart delay between restarts will increase in an exponential moving average, till reaching the maximum of 15000ms between restarts. -When the application will then get back to a stable mode (uptime without restarts of more than 30 seconds), the restart delay will automatically reset to 0ms. +Once the application gets back to a stable mode (uptime without restarts of more than 30 seconds), the restart delay will automatically reset to 0ms. ## Fixed Restart Delay @@ -62,7 +62,7 @@ Checkout [/docs/usage/memory-limit/](/docs/usage/memory-limit/) ## 0 second Downtime Reload -Checkout the cluster mode to get [this behavior](/docs/usage/cluster-mode/#reload) +Check out the cluster mode to get [this behavior](/docs/usage/cluster-mode/#reload) ## No Auto Restart