2 Commits

Author SHA1 Message Date
895146b472 Версия v1.1.2
All checks were successful
Release / release (push) Successful in 4m2s
2025-11-22 21:28:39 +08:00
522012d7d5 Фикс подсчёта онлайн-оффлайн каналов 2025-11-22 21:28:06 +08:00
2 changed files with 4 additions and 1 deletions

View File

@@ -14,7 +14,7 @@ import (
"github.com/redis/go-redis/v9"
)
const VERSION = "1.1.1"
const VERSION = "1.1.2"
// Arguments описывает аргументы командной строки
type Arguments struct {

View File

@@ -196,6 +196,9 @@ func CheckChannels(pls playlist.Playlist) playlist.Playlist {
return pls
}
pls.OnlineCount = 0
pls.OfflineCount = 0
timeout, routines := calcParameters(count)
httpClient := http.Client{Timeout: timeout}
chSemaphores := make(chan struct{}, routines)