summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/ServiceProvider/DatabaseProvider.php2
-rw-r--r--app/constants.php1
2 files changed, 3 insertions, 0 deletions
diff --git a/app/ServiceProvider/DatabaseProvider.php b/app/ServiceProvider/DatabaseProvider.php
index ccd5a7b9..704e8079 100644
--- a/app/ServiceProvider/DatabaseProvider.php
+++ b/app/ServiceProvider/DatabaseProvider.php
@@ -136,6 +136,7 @@ class DatabaseProvider implements ServiceProviderInterface
'ssl_ca' => DB_SSL_CA,
'ssl_cert' => DB_SSL_CERT,
'verify_server_cert' => DB_VERIFY_SERVER_CERT,
+ 'timeout' => DB_TIMEOUT,
));
}
@@ -156,6 +157,7 @@ class DatabaseProvider implements ServiceProviderInterface
'password' => DB_PASSWORD,
'database' => DB_NAME,
'port' => DB_PORT,
+ 'timeout' => DB_TIMEOUT,
));
}
}
diff --git a/app/constants.php b/app/constants.php
index 4b87d18e..35d651e8 100644
--- a/app/constants.php
+++ b/app/constants.php
@@ -54,6 +54,7 @@ defined('DB_SSL_KEY') or define('DB_SSL_KEY', null);
defined('DB_SSL_CERT') or define('DB_SSL_CERT', null);
defined('DB_SSL_CA') or define('DB_SSL_CA', null);
defined('DB_VERIFY_SERVER_CERT') or define('DB_VERIFY_SERVER_CERT', null);
+defined('DB_TIMEOUT') or define('DB_TIMEOUT', null);
// Database backend group provider
defined('DB_GROUP_PROVIDER') or define('DB_GROUP_PROVIDER', true);