diff options
author | FChannel <> | 2022-06-18 11:10:46 -0700 |
---|---|---|
committer | FChannel <> | 2022-06-19 12:53:29 -0700 |
commit | e13f8001c69375a83efd3ff1bedb367b6851226a (patch) | |
tree | 2b6eea832d5b81531f714ade81dfab433f7174a9 /main.go | |
parent | 54a0578dbc5eb65cd84ec1a67b2b36a4fbfb73ee (diff) |
dont wait for inbox request to redirect user. prevents uneeded hang after post
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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, }) |