grpc multiplex: readme
This commit is contained in:
parent
5cfb6de72a
commit
54245a68d2
|
@ -61,7 +61,7 @@ Find a new file named `metrics.csv` in the project root.
|
|||
Thank you for providing the default values. Here's the updated table with the default values for the environment variables based on the additional information:
|
||||
|
||||
| Environment Variable | Purpose | Required? | Default Value |
|
||||
|--------------------------|------------------------------------------------------------------|---------------------|------------------------------------------------|
|
||||
|----------------------------------------------------------------------------|----------------------------------------------------------|---------------------|------------------------------------------------|
|
||||
| `RPC_ADDR` | Address for the RPC node | Replaces default if set | `http://0.0.0.0:8899` (from `DEFAULT_RPC_ADDR`) |
|
||||
| `WS_ADDR` | WebSocket address for the RPC node | Replaces default if set | `ws://0.0.0.0:8900` (from `DEFAULT_WS_ADDR`) |
|
||||
| `LITE_RPC_HTTP_ADDR` | HTTP address for the lite RPC node | Replaces default if set | `http://0.0.0.0:8890` (from `DEFAULT_LITE_RPC_ADDR`) |
|
||||
|
@ -73,8 +73,8 @@ Thank you for providing the default values. Here's the updated table with the de
|
|||
| `RETRY_TIMEOUT` | Timeout for transaction retries in seconds | Replaces default if set | `3` (from `DEFAULT_RETRY_TIMEOUT`) |
|
||||
| `QUIC_PROXY_ADDR` | Address for QUIC proxy | Optional | None |
|
||||
| `USE_GRPC` | Flag to enable or disable gRPC | Enables gRPC if set | `false` |
|
||||
| `GRPC_ADDR` | gRPC address | Replaces default if set | `http://127.0.0.0:10000` (from `DEFAULT_GRPC_ADDR`) |
|
||||
| `GRPC_X_TOKEN` | Token for gRPC authentication | Optional | None |
|
||||
| `GRPC_ADDR`<br/>`GRPC_ADDR2`<br/>`GRPC_ADDR3`<br/>`GRPC_ADDR4` | gRPC address(es); will be multiplexed | Replaces default if set | `http://127.0.0.0:10000` (from `DEFAULT_GRPC_ADDR`) |
|
||||
| `GRPC_X_TOKEN`<br/>`GRPC_X_TOKEN2`<br/>`GRPC_X_TOKEN3`<br/>`GRPC_X_TOKEN4` | Token for gRPC authentication | Optional | None |
|
||||
| `PG_*` | Various environment variables for Postgres configuration | Depends on Postgres usage | Based on `PostgresSessionConfig::new_from_env()` |
|
||||
|
||||
### Postgres
|
||||
|
|
Loading…
Reference in New Issue