mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-04 20:32:56 +00:00
* docs: Add comments to standalone config example * docs: Add comments to datanode config example * docs: Add comments to frontend config example * docs: Add comments to meta-srv config example * docs: Use "GB" instead of "GiB" * docs: Add link to the selector doc * docs: Fix grammar
16 lines
659 B
TOML
16 lines
659 B
TOML
# The bind address of metasrv, "127.0.0.1:3002" by default.
|
|
bind_addr = "127.0.0.1:3002"
|
|
# The communication server address for frontend and datanode to connect to metasrv, "127.0.0.1:3002" by default for localhost.
|
|
server_addr = "127.0.0.1:3002"
|
|
# Etcd server address, "127.0.0.1:2379" by default.
|
|
store_addr = "127.0.0.1:2379"
|
|
# Datanode lease in seconds, 15 seconds by default.
|
|
datanode_lease_secs = 15
|
|
# Datanode selector type.
|
|
# - "LeaseBased" (default value).
|
|
# - "LoadBased"
|
|
# For details, please see "https://docs.greptime.com/developer-guide/meta/selector".
|
|
selector = "LeaseBased"
|
|
# Store data in memory, false by default.
|
|
use_memory_store = false
|