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

This commit is contained in:
CaIon 2025-04-26 17:09:23 +08:00
parent f4dcf8d6b6
commit e24d9bd8db

View File

@ -278,7 +278,7 @@ func InitModelSettings() {
// Initialize cacheRatioMap
cacheRatioMapMutex.Lock()
cacheRatioMap = defaultCreateCacheRatio
cacheRatioMap = defaultCacheRatio
cacheRatioMapMutex.Unlock()
// initialize imageRatioMap