mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-08 21:47:17 +08:00
feat: cache optimize
This commit is contained in:
parent
7e0c68f477
commit
91d1adf057
10
pkg/common/db/cache/s3.go
vendored
10
pkg/common/db/cache/s3.go
vendored
@ -182,9 +182,9 @@ func (g *minioCacheRedis) GetThumbnailKey(ctx context.Context, key string, forma
|
|||||||
}
|
}
|
||||||
|
|
||||||
type MinioImageInfo struct {
|
type MinioImageInfo struct {
|
||||||
IsImg bool `json:"i,omitempty"`
|
IsImg bool `json:"isImg"`
|
||||||
Width int `json:"w,omitempty"`
|
Width int `json:"width"`
|
||||||
Height int `json:"h,omitempty"`
|
Height int `json:"height"`
|
||||||
Format string `json:"f,omitempty"`
|
Format string `json:"format"`
|
||||||
Etag string `json:"e,omitempty"`
|
Etag string `json:"etag"`
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user