Skip to content

Commit d157d8f

Browse files
M-arcustinect
authored andcommitted
Cart & Cache compression: Set SettingsResult severity to info for deactivated or gzip
1 parent b179ad6 commit d157d8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Components/Health/Checker/PerformanceChecker/CompressionMethodChecker.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ private function checkCompression(HealthCollection $collection, string $function
3838
{
3939
if (!$enabled) {
4040
$collection->add(
41-
SettingsResult::warning(
41+
SettingsResult::info(
4242
strtolower($functionality) . '-compress',
4343
$functionality . ' compression',
4444
'disabled',
@@ -52,7 +52,7 @@ private function checkCompression(HealthCollection $collection, string $function
5252

5353
if ($method === 'gzip') {
5454
$collection->add(
55-
SettingsResult::warning(
55+
SettingsResult::info(
5656
strtolower($functionality) . '-compression-method',
5757
$functionality . ' compression method',
5858
'gzip',

0 commit comments

Comments
 (0)