mirror of
https://github.com/foomo/gofoomo.git
synced 2025-10-16 12:25:44 +00:00
Update READ/WRITE timeout to 30 seconds to allow more time for requests
This commit is contained in:
parent
5dbe5a9634
commit
eb9322e2e9
@ -27,8 +27,8 @@ type Listener interface {
|
||||
// Based on values from https://blog.cloudflare.com/the-complete-guide-to-golang-net-http-timeouts/
|
||||
// And https://blog.cloudflare.com/exposing-go-on-the-internet/
|
||||
const (
|
||||
READ_TIMEOUT = 5 * time.Second
|
||||
WRITE_TIMEOUT = 10 * time.Second
|
||||
READ_TIMEOUT = 30 * time.Second
|
||||
WRITE_TIMEOUT = 30 * time.Second
|
||||
IDLE_TIMEOUT = 120 * time.Second
|
||||
)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user