mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-17 05:20:37 +00:00
* fix: Serialize FrontendOptions to toml * fix: Serialize DatanodeOptions to toml * fix: Serialize StandaloneOptions to toml See https://users.rust-lang.org/t/why-toml-to-string-get-error-valueaftertable/85903/2 * chore!: Rename MetaClientOpts to MetaClientOptions BREAKING CHANGE: Change the meta_client_opts in the config file to meta_client_options
24 lines
420 B
Plaintext
24 lines
420 B
Plaintext
node_id = 1
|
|
mode = 'distributed'
|
|
rpc_addr = '127.0.0.1:4100'
|
|
rpc_hostname = '127.0.0.1'
|
|
rpc_runtime_size = 8
|
|
|
|
[wal]
|
|
dir = '{wal_dir}'
|
|
file_size = '1GB'
|
|
purge_interval = '10m'
|
|
purge_threshold = '50GB'
|
|
read_batch_size = 128
|
|
sync_write = false
|
|
|
|
[storage]
|
|
type = 'File'
|
|
data_dir = '{data_dir}'
|
|
|
|
[meta_client_options]
|
|
metasrv_addrs = ['127.0.0.1:3002']
|
|
timeout_millis = 3000
|
|
connect_timeout_millis = 5000
|
|
tcp_nodelay = false
|