v0.9.3 db and web fixes for deployment
This commit is contained in:
1 parent
e689ca83a2
commit
84bd5d40c8
8 files changed
+72
-41
No files matched your search
@@ -36,9 +36,9 @@ func NewFiberApp(proc *processor.Processor, svc *service.Service, devMode bool)
|
||||
// Initialize Fiber app
|
||||
app := fiber.New(fiber.Config{
|
||||
ErrorHandler: customErrorHandler,
|
||||
ReadTimeout: 10 * time.Second,
|
||||
WriteTimeout: 10 * time.Second,
|
||||
IdleTimeout: 30 * time.Second,
|
||||
ReadTimeout: 15 * time.Second,
|
||||
WriteTimeout: 35 * time.Second,
|
||||
IdleTimeout: 60 * time.Second,
|
||||
})
|
||||
|
||||
// Global middleware (order matters)
|
||||
@@ -517,4 +517,5 @@ func (h *HTTPHandler) GetBoard(c *fiber.Ctx) error {
|
||||
}
|
||||
|
||||
return c.JSON(resp.Data)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user