revert cache.go

This commit is contained in:
1808837298@qq.com
2025-01-05 22:12:39 +08:00
parent 4cf9d0787e
commit 08a89a50d7

View File

@@ -181,7 +181,7 @@ func CacheGetRandomSatisfiedChannel(group string, model string, retry int) (*Cha
} }
// if memory cache is disabled, get channel directly from database // if memory cache is disabled, get channel directly from database
if (!common.MemoryCacheEnabled) { if !common.MemoryCacheEnabled {
return GetRandomSatisfiedChannel(group, model, retry) return GetRandomSatisfiedChannel(group, model, retry)
} }
channelSyncLock.RLock() channelSyncLock.RLock()