This commit is contained in:
quzard 2023-05-31 15:21:43 +08:00 committed by GitHub
parent fa71daa8a7
commit 6f9bb414e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,6 +134,9 @@ func disableChannel(channelId int, channelName string, reason string) {
}
func testAllChannels(c *gin.Context) error {
if common.RootUserEmail == "" {
common.RootUserEmail = model.GetRootUserEmail()
}
testAllChannelsLock.Lock()
if testAllChannelsRunning {
testAllChannelsLock.Unlock()