mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-06 21:32:58 +00:00
feat: more than one flow workers (#5315)
* feat: more workers * feat: use round robin * refactor: per review * refactor: per bot review * chore: per review * docs: example * docs: update config.md * docs: update * chore: per review * refactor: set workers to cpu/2.max(1) * fix: flow config in standalone mode * test: fix config test * docs: update docs&opt name * chore: update config.md * refactor: per review, sanitize at top * chore: per review * chore: config.md
This commit is contained in:
@@ -5,6 +5,12 @@ mode = "distributed"
|
||||
## @toml2docs:none-default
|
||||
node_id = 14
|
||||
|
||||
## flow engine options.
|
||||
[flow]
|
||||
## The number of flow worker in flownode.
|
||||
## Not setting(or set to 0) this value will use the number of CPU cores divided by 2.
|
||||
#+num_workers=0
|
||||
|
||||
## The gRPC server options.
|
||||
[grpc]
|
||||
## The address to bind the gRPC server.
|
||||
|
||||
Reference in New Issue
Block a user