Expand description
Defaults for Lexe API servers.
Constants§
- DEFAULT_
HANDLER_ TIMEOUT - The default maximum time a server can spend handling a request.
- SHUTDOWN_
GRACE_ PERIOD - The grace period passed to
axum_server::Handle::graceful_shutdownduring which new connections are refused and we wait for existing connections to terminate before initiating a hard shutdown. - SHUTDOWN_
TIMEOUT - The maximum time we’ll wait for a server to complete shutdown.