Skip to content

Commit

Permalink
Improve 调整停用时间
Browse files Browse the repository at this point in the history
  • Loading branch information
qydysky committed Jun 17, 2024
1 parent fb44b90 commit bd69348
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Reply/stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}
Expand Down

0 comments on commit bd69348

Please sign in to comment.