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
32c49d1b75
commit
55032f6836
@ -74,6 +74,7 @@ func NewMinio(cache cache.MinioCache) (s3.Interface, error) {
|
|||||||
core: &minio.Core{Client: client},
|
core: &minio.Core{Client: client},
|
||||||
lock: &sync.Mutex{},
|
lock: &sync.Mutex{},
|
||||||
init: false,
|
init: false,
|
||||||
|
cache: cache,
|
||||||
}
|
}
|
||||||
if config.Config.Object.Minio.SignEndpoint == "" || config.Config.Object.Minio.SignEndpoint == config.Config.Object.Minio.Endpoint {
|
if config.Config.Object.Minio.SignEndpoint == "" || config.Config.Object.Minio.SignEndpoint == config.Config.Object.Minio.Endpoint {
|
||||||
m.opts = opts
|
m.opts = opts
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user