Auto workers scaling
Last updated
version: '3'
rpc:
listen: tcp://127.0.0.1:6002
server:
command: "php worker.php"
http:
address: 127.0.0.1:10085
pool:
num_workers: 2
allocate_timeout: 60s
destroy_timeout: 1s
dynamic_allocator:
max_workers: 25
spawn_rate: 10
idle_timeout: 10s
logs:
mode: development
level: debug