mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2026-09-29 09:05:06 -07:00
Bound public API connection lifetimes
This commit is contained in:
@@ -32,6 +32,13 @@ API_PORT=3334
|
||||
API_BIND_HOST=127.0.0.1
|
||||
API_PUBLIC_PORT=3334
|
||||
API_WORKERS=4
|
||||
# Bound abandoned or slow API sockets. These settings apply only to the
|
||||
# HTTP(S) listener and do not affect Stratum connections.
|
||||
API_CONNECTION_TIMEOUT_MS=15000
|
||||
API_KEEP_ALIVE_TIMEOUT_MS=5000
|
||||
API_REQUEST_TIMEOUT_MS=15000
|
||||
API_HEADERS_TIMEOUT_MS=10000
|
||||
API_MAX_REQUESTS_PER_SOCKET=100
|
||||
|
||||
# Docker json-file log rotation. Applies when using the compose files.
|
||||
DOCKER_LOG_MAX_SIZE=100m
|
||||
|
||||
Reference in New Issue
Block a user