增加 load_balance 配置项:TFE 支持 round_robin/least_conn 负载均衡算法

This commit is contained in:
luwenpeng
2020-07-28 17:41:54 +08:00
parent c82429c9d9
commit f1b2d63816
3 changed files with 37 additions and 9 deletions

View File

@@ -8,6 +8,8 @@ enable_cpu_affinity=0
# the first mask for acceptor thread
# the others mask for worker thread
cpu_affinity_mask=1-9,10-12
# LEAST_CONN = 0; ROUND_ROBIN = 1, default 1
load_balance=1
[kni]
ip=192.168.100.1