diff --git a/core/_install.php b/core/_install.php index a695c237..9e1a9adb 100644 --- a/core/_install.php +++ b/core/_install.php @@ -20,6 +20,8 @@ ob_start(); date_default_timezone_set('UTC'); +define("DATABASE_TIMEOUT", 10000); + ?> diff --git a/core/sys_config.php b/core/sys_config.php index 13b18d7e..a4d54fb6 100644 --- a/core/sys_config.php +++ b/core/sys_config.php @@ -27,7 +27,7 @@ function _d(string $name, $value): void } _d("DATABASE_DSN", null); // string PDO database connection details _d("DATABASE_KA", true); // string Keep database connection alive -_d("DATABASE_TIMEOUT", 10000); // string Keep database connection alive +_d("DATABASE_TIMEOUT", 10000);// int Time to wait for each statement to complete _d("CACHE_DSN", null); // string cache connection details _d("DEBUG", false); // boolean print various debugging details _d("DEBUG_SQL", false); // boolean dump SQL queries to data/sql.log