Skip to content

Commit eeae939

Browse files
miakushaxmav
authored andcommitted
MAGETWO-66343: [Performance] Anomaly increase in redis traffic
1 parent 5cd850b commit eeae939

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/Config/App/Config/Type/System.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ private function cacheConfig($data)
200200
);
201201
}
202202
}
203-
$this->cache->save('1', $this->cacheExistenceKey, [self::CACHE_TAG]);
203+
$this->cache->save($this->cacheExistenceKey, $this->cacheExistenceKey, [self::CACHE_TAG]);
204204
}
205205

206206
/**

app/code/Magento/Config/Test/Unit/App/Config/Type/SystemTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public function testGetNotCached()
154154
[System::CACHE_TAG]
155155
],
156156
[
157-
'1',
157+
'system_CACHE_EXISTS',
158158
'system_CACHE_EXISTS',
159159
[System::CACHE_TAG]
160160
]

0 commit comments

Comments
 (0)