]> 127.0.0.1 Git - bili_danmu/.git/commitdiff
Improve 调整停用时间
authorqydysky <qydysky@foxmail.com>
Mon, 17 Jun 2024 13:47:34 +0000 (13:47 +0000)
committerqydysky <qydysky@foxmail.com>
Mon, 17 Jun 2024 13:47:34 +0000 (13:47 +0000)
Reply/stream.go

index d64c12aa346781f0ae8def9feecb99520f340ee7..f4b91f21fa3ab502cdc8b07debc1148bd1ea7de6 100644 (file)
@@ -917,7 +917,7 @@ func (t *M4SStream) saveStreamFlv() (e error) {
 // 移除失效源
 func (t *M4SStream) removeSer() {
        slice.Del(&t.common.Live, func(v **c.LiveQn) (del bool) {
-               isDel := time.Now().Add(time.Minute).Before((*v).ReUpTime)
+               isDel := time.Now().Add(time.Minute * 2).Before((*v).ReUpTime)
                if isDel {
                        t.log.L(`I: `, `移除流服务器`, (*v).Host())
                }