Torii Parameters
TODO: Explain Torii module
This module contains configuration of Torii - the API gateway of Iroha. Refer to the Torii Endpoints reference for information about exact endpoints.
torii.address
- ENV:
API_ENDPOINT
- Type: String, Socket-Address
- Required
Address on which Torii Endpoints will be accessible.
toml
[torii]
api_address = "localhost:8080"
torii.max_content_length
- Type: String or Number, Byte Size
- Default: ()
TODO: consider changing the default value to 16 MiB precisely (which is )
The maximum number of bytes in a raw request body accepted by the Transaction Endpoint. This limit is used to prevent DOS attacks.
Example:
toml
[torii]
max_content_length = "16MiB"
torii.query_idle_time
- Type: String or Number, Duration
- Default: 30 seconds
The time a query can remain in the store if unaccessed.
TODO: Configures behaviour of lazily-evaluated pagination of the Query Endpoint.
Example:
toml
[torii]
query_idle_time = "30s"