chore: able to config axum timeout in toml (#624)

This commit is contained in:
Dongxu Wang
2022-11-24 11:09:21 +08:00
committed by GitHub
parent 69f06eec8b
commit 8be0f05570
13 changed files with 168 additions and 27 deletions

View File

@@ -1,6 +1,9 @@
mode = 'distributed'
datanode_rpc_addr = '127.0.0.1:3001'
http_addr = '127.0.0.1:4000'
[http_options]
addr = '127.0.0.1:4000'
timeout = "30s"
[meta_client_opts]
metasrv_addrs = ['127.0.0.1:3002']

View File

@@ -1,9 +1,12 @@
node_id = 0
mode = 'standalone'
http_addr = '127.0.0.1:4000'
wal_dir = '/tmp/greptimedb/wal/'
enable_memory_catalog = false
[http_options]
addr = '127.0.0.1:4000'
timeout = "30s"
[storage]
type = 'File'
data_dir = '/tmp/greptimedb/data/'