Expand description
Module for the web data configuration that holds the secrets required by the application.
Structs§
- Config
- Represents the configuration parameters for RuStream.
Functions§
- default_
debug - Returns the default value for debug flag.
- default_
file_ formats - Returns the file formats supported by default.
- default_
max_ connections - Returns the default maximum number of concurrent connections (3)
- default_
max_ payload_ size - Returns the default max payload size (100 MB)
- default_
media_ host - Returns the default media host based on the local machine’s IP address.
- default_
media_ port - Returns the default media port (8000)
- default_
secure_ session - Returns the default value for secure_session
- default_
session_ duration - Returns the default session duration (3600 seconds)
- default_
ssl - Returns the default value for SSL files.
- default_
utc_ logging - Returns the default value for UTC logging.
- default_
websites - Returns an empty list as the default website (CORS configuration)
- default_
workers - Returns the default number of worker threads (half of logical cores)