fix: update cacheRatioMap initialization in InitModelSettings function
Some checks failed
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
Publish Docker image (arm64) / Push Docker image to multiple registries (push) Has been cancelled
Linux Release / release (push) Has been cancelled
macOS Release / release (push) Has been cancelled
Windows Release / release (push) Has been cancelled
Some checks failed
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
Publish Docker image (arm64) / Push Docker image to multiple registries (push) Has been cancelled
Linux Release / release (push) Has been cancelled
macOS Release / release (push) Has been cancelled
Windows Release / release (push) Has been cancelled
This commit is contained in:
parent
f4dcf8d6b6
commit
e24d9bd8db
@ -278,7 +278,7 @@ func InitModelSettings() {
|
|||||||
|
|
||||||
// Initialize cacheRatioMap
|
// Initialize cacheRatioMap
|
||||||
cacheRatioMapMutex.Lock()
|
cacheRatioMapMutex.Lock()
|
||||||
cacheRatioMap = defaultCreateCacheRatio
|
cacheRatioMap = defaultCacheRatio
|
||||||
cacheRatioMapMutex.Unlock()
|
cacheRatioMapMutex.Unlock()
|
||||||
|
|
||||||
// initialize imageRatioMap
|
// initialize imageRatioMap
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user