mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-12-04 20:58:13 +08:00
Update key for cache.
This commit is contained in:
parent
8f631c1a72
commit
88712bb068
2
src/cache/src/CacheManager.php
vendored
2
src/cache/src/CacheManager.php
vendored
@ -78,7 +78,7 @@ class CacheManager
|
|||||||
if ($hasObject) {
|
if ($hasObject) {
|
||||||
$key .= ':' . md5(serialize($arguments));
|
$key .= ':' . md5(serialize($arguments));
|
||||||
} else {
|
} else {
|
||||||
$key .= implode(':', $arguments);
|
$key .= ':' . implode(':', $arguments);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strlen($key) > 64) {
|
if (strlen($key) > 64) {
|
||||||
|
Loading…
Reference in New Issue
Block a user