Increase HTTP read timeout from 10 to 30 minutes

This is to allow big Sprite Fright files to be uploaded over a
slower-than-LAN VPN connection, for people working from home.
This commit is contained in:
2021-04-09 10:39:57 +02:00
parent ad89b710ac
commit 4e0b2c03f4
2 changed files with 6 additions and 1 deletions

View File

@@ -1,6 +1,11 @@
Changelog for Flamenco Manager
==============================
## Version 2.7.1 (in development)
- Increase HTTP read timeout from 10 to 30 minutes.
## Version 2.7 (2019-11-12)
- Update ACME/Let's Encrypt protocol to v2.

View File

@@ -14,7 +14,7 @@ import (
// Constants for the HTTP servers.
const (
ReadHeaderTimeout = 15 * time.Second
ReadTimeout = 600 * time.Second
ReadTimeout = 30 * time.Minute
)
// Server acts as a http.Server