Improve selfhost app load time

This commit is contained in:
Hillel Coren 2024-07-10 11:09:42 +03:00
parent 54625ccc41
commit a1fef77bdc

View File

@ -43,7 +43,7 @@ class SystemHealth
* @param bool $check_database
* @return array Result set of checks
*/
public static function check($check_database = true, $check_filesystem = true): array
public static function check($check_database = true, $check_file_system = true): array
{
$system_health = true;
@ -82,7 +82,7 @@ class SystemHealth
'pdf_engine' => (string) self::getPdfEngine(),
'queue' => (string) config('queue.default'),
'trailing_slash' => (bool) self::checkUrlState(),
'file_permissions' => (string) ($check_filesystem ? self::checkFileSystem() : ''),
'file_permissions' => (string) ($check_file_system ? self::checkFileSystem() : ''),
'exchange_rate_api_not_configured' => (bool)self::checkCurrencySanity(),
'api_version' => (string) config('ninja.app_version'),
'is_docker' => (bool) config('ninja.is_docker'),