Checking Database Connectivity
Checking Database Connectivity
- Published on Mar 25, 2026
This feature is available in v42.3 and later.
If your instance's database connection is unstable, you can configure the system to check the status of the database connection at the beginning of each HTTP request. If the connection is broken, the system will restore it.
This feature is disabled by default. To enable it, add the following to your ".env" file:
FORM_DB_CONN_HEALTH_CHECKS=true
Note that enabling this feature may slightly increase the latency of database requests, but it improves system reliability in instances with intermittent database connectivity.