aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.go b/main.go
index e472762..837fec5 100644
--- a/main.go
+++ b/main.go
@@ -31,6 +31,9 @@ func main() {
app := fiber.New(fiber.Config{
AppName: "FChannel",
Views: template,
+ ReadTimeout: 30 * time.Second,
+ WriteTimeout: 30 * time.Second,
+ IdleTimeout: 60 * time.Second,
ServerHeader: "FChannel/" + config.InstanceName,
})