mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-03-30 05:41:37 +00:00
fix: rename bulk test action to skip manually disabled channels
This commit is contained in:
@@ -804,6 +804,9 @@ func testAllChannels(notify bool) error {
|
||||
}()
|
||||
|
||||
for _, channel := range channels {
|
||||
if channel.Status == common.ChannelStatusManuallyDisabled {
|
||||
continue
|
||||
}
|
||||
isChannelEnabled := channel.Status == common.ChannelStatusEnabled
|
||||
tik := time.Now()
|
||||
result := testChannel(channel, "", "", false)
|
||||
|
||||
Reference in New Issue
Block a user