Tune HTTP response timeouts, to allow "slow" FFmpeg to finish
This commit is contained in:
@@ -55,8 +55,8 @@ func New(opts Options) *Server {
|
||||
Addr: opts.ListenAddr,
|
||||
Handler: r,
|
||||
ReadTimeout: 5 * time.Second,
|
||||
WriteTimeout: 10 * time.Second,
|
||||
IdleTimeout: 15 * time.Second,
|
||||
WriteTimeout: 80 * time.Second,
|
||||
IdleTimeout: 60 * time.Second,
|
||||
}
|
||||
return &Server{
|
||||
Server: server,
|
||||
|
||||
Reference in New Issue
Block a user