mirror of
https://github.com/gofiber/fiber.git
synced 2025-02-14 14:15:01 +00:00
👷 start process before prefork server starting
This commit is contained in:
parent
267fd5ec59
commit
ecb95fbffc
@ -51,6 +51,9 @@ func (app *App) prefork(addr string, tlsConfig *tls.Config) (err error) {
|
||||
// kill current child proc when master exits
|
||||
go watchMaster()
|
||||
|
||||
// prepare the server for the start
|
||||
app.startupProcess()
|
||||
|
||||
// listen for incoming connections
|
||||
return app.server.Serve(ln)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user