|
|
@@ -62,7 +62,7 @@ public class ObjectRepository {
|
|
|
return fileMetaMapper.findBySha256sum(sha256sum);
|
|
|
}
|
|
|
|
|
|
- @Cacheable(cacheNames = "objectMeta", key = "#objectName", unless = "#result == null")
|
|
|
+ @Cacheable(cacheNames = "dfs-store:objectMeta", key = "#objectName", unless = "#result == null")
|
|
|
public ObjectMeta getObjectMeta(String objectName) {
|
|
|
log.info("查找 db");
|
|
|
ObjectMeta objectMeta = fileMetaMapper.findObjectMeta(objectName);
|