Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 634 Bytes

automating-restarts.md

File metadata and controls

5 lines (3 loc) · 634 Bytes

Automating Restarts

By default BlockScout does not restart if it crashes. To enable automated restarts, set the environment variable HEART_COMMAND to whatever command you run to start BlockScout. Configure the heart beat timeout to change how long it waits before considering the application unresponsive.

At that point, it will kill the current blockscout instance and execute the HEART_COMMAND. By default a crash dump is not written unless you set ERL_CRASH_DUMP_SECONDS to a positive or negative integer. See the heart documentation for more information.