mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-05 21:02:58 +00:00
* feat: add --rpc-hostname option * fix: config file and hostname parsing * Apply suggestions from code review Co-authored-by: fys <40801205+Fengys123@users.noreply.github.com> Co-authored-by: fys <40801205+Fengys123@users.noreply.github.com>
27 lines
522 B
TOML
27 lines
522 B
TOML
node_id = 42
|
|
mode = 'distributed'
|
|
rpc_addr = '127.0.0.1:3001'
|
|
rpc_hostname = '127.0.0.1'
|
|
rpc_runtime_size = 8
|
|
mysql_addr = '127.0.0.1:4406'
|
|
mysql_runtime_size = 4
|
|
enable_memory_catalog = false
|
|
|
|
[wal]
|
|
dir = "/tmp/greptimedb/wal"
|
|
file_size = '1GB'
|
|
purge_interval = '10m'
|
|
purge_threshold = '50GB'
|
|
read_batch_size = 128
|
|
sync_write = false
|
|
|
|
[storage]
|
|
type = 'File'
|
|
data_dir = '/tmp/greptimedb/data/'
|
|
|
|
[meta_client_opts]
|
|
metasrv_addrs = ['127.0.0.1:3002']
|
|
timeout_millis = 3000
|
|
connect_timeout_millis = 5000
|
|
tcp_nodelay = false
|