Skip to content

Commit 0e2a928

Browse files
committed
MC-6273: Mysql url_rewrite select make on product view page 170+ times per request
- fixed static tests
1 parent 5ccc91d commit 0e2a928

File tree

1 file changed

+5
-3
lines changed
  • lib/internal/Magento/Framework/Lock/Backend

1 file changed

+5
-3
lines changed

lib/internal/Magento/Framework/Lock/Backend/Cache.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,13 @@ public function isLocked(string $name): bool
5757
}
5858

5959
/**
60-
* @param string $name
60+
* Get cache locked identifier based on cache identifier.
61+
*
62+
* @param string $cacheIdentifier
6163
* @return string
6264
*/
63-
private function getIdentifier(string $name): string
65+
private function getIdentifier(string $cacheIdentifier): string
6466
{
65-
return self::LOCK_PREFIX . $name;
67+
return self::LOCK_PREFIX . $cacheIdentifier;
6668
}
6769
}

0 commit comments

Comments
 (0)