mirror of
https://github.com/Monibuca/engine.git
synced 2026-04-22 15:57:03 +08:00
fix: remove resetTimer warning log
This commit is contained in:
@@ -296,10 +296,8 @@ func findOrCreateStream(streamPath string, waitTimeout time.Duration) (s *Stream
|
||||
}
|
||||
|
||||
func (r *Stream) resetTimer(dur time.Duration) {
|
||||
if r.timeout != nil {
|
||||
r.Warn("reset timer", zap.Duration("timeout", dur))
|
||||
r.Debug("reset timer", zap.Duration("timeout", dur))
|
||||
r.timeout.Reset(dur)
|
||||
}
|
||||
}
|
||||
|
||||
func (r *Stream) action(action StreamAction) (ok bool) {
|
||||
|
||||
Reference in New Issue
Block a user