关闭tg模式下大并发视频和文件

This commit is contained in:
johlanse 2022-02-18 20:50:36 +08:00
parent 4a5328b654
commit 9c7cc6dfad
1 changed files with 1 additions and 2 deletions

View File

@ -20,7 +20,6 @@ import (
var VERSION = "unknown" var VERSION = "unknown"
func init() { func init() {
config = lib.GetConfig() config = lib.GetConfig()
logFormatter := &easy.Formatter{ logFormatter := &easy.Formatter{
TimestampFormat: "2006-01-02 15:04:05", TimestampFormat: "2006-01-02 15:04:05",
@ -120,7 +119,7 @@ func do() {
go core.LearnArticle(cookies) go core.LearnArticle(cookies)
go core.LearnVideo(cookies) go core.LearnVideo(cookies)
lib.WaitStudy(&lib.User{Cookies: cookies}) lib.WaitStudy(&lib.User{Cookies: cookies}, "")
if config.Model == 2 { if config.Model == 2 {
core.RespondDaily(cookies, "daily") core.RespondDaily(cookies, "daily")
} else if config.Model == 3 { } else if config.Model == 3 {