Skip to main content

Module server

Module server 

Source
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_shutdown during 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.