You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add app.IsChild() method to determine if the current process is a result of Prefork and defines as a child process, this method can be useful when Prefork is enabled.
funcmain() {
app:=fiber.New(&fiber.Settings{
Prefork: true,
})
ifapp.IsChild() {
log.Println("I'm a child process 👶")
}
log.Fatal(app.Listen(3000))
}
The text was updated successfully, but these errors were encountered:
Thanks for opening your first issue here! 🎉 Be sure to follow the issue template! If you need help or want to chat with us, join us on Discord https://gofiber.io/discord
Add
app.IsChild()
method to determine if the current process is a result ofPrefork
and defines as a child process, this method can be useful when Prefork is enabled.The text was updated successfully, but these errors were encountered: