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
| <Referenceid="ShutdownTimeout">ShutdownTimeout</Reference> |`time.Duration`| Specifies the maximum duration to wait for the server to gracefully shutdown. When the timeout is reached, the graceful shutdown process is interrupted and forcibly terminated, and the `context.DeadlineExceeded` error is passed to the `OnPostShutdown` callback. Set to 0 to disable the timeout and wait indefinitely. |`10 * time.Second`|
120
120
| <Referenceid="listeneraddrfunc">ListenerAddrFunc</Reference> |`func(addr net.Addr)`| Allows accessing and customizing `net.Listener`. |`nil`|
121
121
| <Referenceid="listenernetwork">ListenerNetwork</Reference> |`string`| Known networks are "tcp", "tcp4" (IPv4-only), "tcp6" (IPv6-only), "unix" (Unix Domain Sockets). WARNING: When prefork is set to true, only "tcp4" and "tcp6" can be chosen. |`tcp4`|
122
+
| <Referenceid="preforkrecoverthreshold">PreforkRecoverThreshold</Reference> |`int`| Defines the maximum number of child process restarts after crashes before the prefork master exits with an error. Only applies when prefork is enabled. |`max(1, runtime.GOMAXPROCS(0) / 2)`|
123
+
| <Referenceid="preforklogger">PreforkLogger</Reference> |`PreforkLogger`| Sets a custom logger for the prefork process manager. Only applies when prefork is enabled. | Fiber logger |
122
124
| <Referenceid="unixsocketfilemode">UnixSocketFileMode</Reference> |`os.FileMode`| FileMode to set for Unix Domain Socket (ListenerNetwork must be "unix") |`0770`|
123
125
| <Referenceid="tlsconfigfunc">TLSConfigFunc</Reference> |`func(tlsConfig *tls.Config)`| Allows customizing `tls.Config` as you want. Ignored when `TLSConfig` is set. |`nil`|
124
126
| <Referenceid="tlsconfig">TLSConfig</Reference> |`*tls.Config`| Recommended base TLS configuration (cloned). Use for external certificate providers via `GetCertificate`. When set, other TLS fields are ignored. |`nil`|
0 commit comments