Update /ok to serve dual health check/benchmarking role
This commit is contained in:
@@ -25,3 +25,10 @@ request_id_retention_versions = 100000000
|
||||
max_buffer_size_bytes = 10485760 # 10MB
|
||||
# Interval for sending keepalive comments to prevent idle timeouts (seconds)
|
||||
keepalive_interval_seconds = 30
|
||||
|
||||
[benchmark]
|
||||
# CPU-intensive loop iterations for /ok requests in resolve stage
|
||||
# 0 = health check only (no CPU work)
|
||||
# 7000 = default benchmark load (650ns CPU work, 1M req/s)
|
||||
# Higher values = more CPU stress testing
|
||||
ok_resolve_iterations = 7000
|
||||
|
||||
Reference in New Issue
Block a user