merge upstream

Signed-off-by: wozulong <>
This commit is contained in:
wozulong
2024-04-10 11:31:20 +08:00
12 changed files with 177 additions and 94 deletions

View File

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