From e13f8001c69375a83efd3ff1bedb367b6851226a Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Sat, 18 Jun 2022 11:10:46 -0700 Subject: dont wait for inbox request to redirect user. prevents uneeded hang after post --- main.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'main.go') 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, }) -- cgit v1.2.3