mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-05-07 08:22:57 +03:00
Pull request: all: prep release
Merge in DNS/adguard-home from prep-release to master Squashed commit of the following: commit 32d83fe663dfd7a585ed9d89d09d47fd7b4cb653 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Mon Feb 15 16:02:56 2021 +0300 all: prep release
This commit is contained in:
parent
ab81ff03f6
commit
a1c9e9d36b
2 changed files with 10 additions and 6 deletions
internal/home
|
@ -18,12 +18,12 @@ import (
|
|||
const (
|
||||
// readTimeout is the maximum duration for reading the entire request,
|
||||
// including the body.
|
||||
readTimeout = 30 * time.Second
|
||||
readTimeout = 60 * time.Second
|
||||
// readHdrTimeout is the amount of time allowed to read request headers.
|
||||
readHdrTimeout = 30 * time.Second
|
||||
readHdrTimeout = 60 * time.Second
|
||||
// writeTimeout is the maximum duration before timing out writes of the
|
||||
// response.
|
||||
writeTimeout = 30 * time.Second
|
||||
writeTimeout = 60 * time.Second
|
||||
)
|
||||
|
||||
type webConfig struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue