mirror of
https://github.com/qdrant/qdrant.git
synced 2026-09-21 13:37:46 -05:00
docs: correct config.yaml comments for workers, gRPC, and HTTP timeouts (#10234)
max_workers: 0 is cores minus one (minimum 1), not all cores. gRPC ships on 6334; commenting the key in an overlay does not disable it. Document the HTTP timeout defaults already asserted in test_default_config, and wal_retain_closed.
This commit is contained in:
+20
-3
@@ -74,6 +74,9 @@ storage:
|
|||||||
# Number of WAL segments to create ahead of actual data requirement
|
# Number of WAL segments to create ahead of actual data requirement
|
||||||
wal_segments_ahead: 0
|
wal_segments_ahead: 0
|
||||||
|
|
||||||
|
# Number of closed WAL segments to keep
|
||||||
|
wal_retain_closed: 1
|
||||||
|
|
||||||
# Normal node - receives all updates and answers all queries
|
# Normal node - receives all updates and answers all queries
|
||||||
node_type: "Normal"
|
node_type: "Normal"
|
||||||
|
|
||||||
@@ -319,7 +322,8 @@ service:
|
|||||||
# Maximum size of POST data in a single request in megabytes
|
# Maximum size of POST data in a single request in megabytes
|
||||||
max_request_size_mb: 32
|
max_request_size_mb: 32
|
||||||
|
|
||||||
# Number of parallel workers used for serving the api. If 0 - equal to the number of available cores.
|
# Number of parallel workers used for serving the api.
|
||||||
|
# If 0 - available cores minus one, with a minimum of 1.
|
||||||
# If missing - Same as storage.max_search_threads
|
# If missing - Same as storage.max_search_threads
|
||||||
max_workers: 0
|
max_workers: 0
|
||||||
|
|
||||||
@@ -329,9 +333,22 @@ service:
|
|||||||
# HTTP(S) port to bind the service on
|
# HTTP(S) port to bind the service on
|
||||||
http_port: 6333
|
http_port: 6333
|
||||||
|
|
||||||
|
# Keep-alive timeout for incoming HTTP connections in seconds.
|
||||||
|
# Default: 5
|
||||||
|
# http_keep_alive_timeout_sec: 5
|
||||||
|
|
||||||
|
# Timeout for reading HTTP request data from clients in seconds.
|
||||||
|
# Default: 5
|
||||||
|
# http_client_request_timeout_sec: 5
|
||||||
|
|
||||||
|
# Timeout for client disconnect handling in seconds.
|
||||||
|
# Default: 5
|
||||||
|
# http_client_disconnect_timeout_sec: 5
|
||||||
|
|
||||||
# gRPC port to bind the service on.
|
# gRPC port to bind the service on.
|
||||||
# If `null` - gRPC is disabled. Default: null
|
# If `null` - gRPC is disabled. Default: 6334
|
||||||
# Comment to disable gRPC:
|
# Commenting this key in an overlay does not disable gRPC; the base config
|
||||||
|
# still supplies 6334. Set `null` to disable.
|
||||||
grpc_port: 6334
|
grpc_port: 6334
|
||||||
|
|
||||||
# Enable CORS headers in REST API.
|
# Enable CORS headers in REST API.
|
||||||
|
|||||||
Reference in New Issue
Block a user