write timeout

This commit is contained in:
Michał Adamski 2022-03-23 20:23:40 +01:00
parent 11533d617c
commit f76e84aec0

View file

@ -21,6 +21,7 @@ func main() {
config := fiber.Config{
ServerHeader: "privtracker",
ReadTimeout: time.Second * 245,
WriteTimeout: time.Second * 15,
}
domains, tls := os.LookupEnv("DOMAINS")
if !tls {