fix: update cacheRatioMap initialization in InitModelSettings function
This commit is contained in:
1 parent
f4dcf8d6b6
commit
e24d9bd8db
1 file changed
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user