mirror of
https://github.com/SinTan1729/privtracker.git
synced 2024-12-27 07:48:36 -06:00
write timeout
This commit is contained in:
parent
11533d617c
commit
f76e84aec0
1 changed files with 1 additions and 0 deletions
1
main.go
1
main.go
|
@ -21,6 +21,7 @@ func main() {
|
||||||
config := fiber.Config{
|
config := fiber.Config{
|
||||||
ServerHeader: "privtracker",
|
ServerHeader: "privtracker",
|
||||||
ReadTimeout: time.Second * 245,
|
ReadTimeout: time.Second * 245,
|
||||||
|
WriteTimeout: time.Second * 15,
|
||||||
}
|
}
|
||||||
domains, tls := os.LookupEnv("DOMAINS")
|
domains, tls := os.LookupEnv("DOMAINS")
|
||||||
if !tls {
|
if !tls {
|
||||||
|
|
Loading…
Reference in a new issue