Update exec timeout to 15

This commit is contained in:
Alexey Khit
2022-08-21 06:56:43 +03:00
parent 92c67df7b4
commit b7f4c63517

View File

@@ -70,7 +70,7 @@ func Handle(url string) (streamer.Producer, error) {
} }
select { select {
case <-time.After(time.Second * 10): case <-time.After(time.Second * 15):
_ = cmd.Process.Kill() _ = cmd.Process.Kill()
log.Error().Str("url", url).Msg("[exec] timeout") log.Error().Str("url", url).Msg("[exec] timeout")
return nil, errors.New("timeout") return nil, errors.New("timeout")