mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net/haproxy: replace "process" with "threads" bind keyword, refs #3026
This commit is contained in:
@@ -15,11 +15,12 @@ Changed:
|
||||
* upgrade to HAProxy 2.6 release series (#3026)
|
||||
* rename frontend option "Type" to "Connection Mode" (#3026)
|
||||
* migrate options "http-tunnel" and "forceclose" to "http-keep-alive" (#3026)
|
||||
* replace "process" with "threads" bind keyword for CPU Affinity (#3026)
|
||||
|
||||
Removed:
|
||||
* remove Processes/nbproc option (use Threads/nbthread instead) (#3026)
|
||||
* remove "Process ID" from CPU Affinity settings (now always 1) (#3026)
|
||||
* remove "bind-process" option (replaced by the "process" bind keyword) (#3026)
|
||||
* remove "bind-process" option (replaced by the "threads" bind keyword) (#3026)
|
||||
* remove options "http-tunnel" and "forceclose" from "Connection Mode" (#3026)
|
||||
|
||||
3.12
|
||||
|
||||
@@ -1379,7 +1379,7 @@ frontend {{frontend.name}}
|
||||
{% set cpu_map_data = helpers.getUUID(cpu_map) %}
|
||||
{% if cpu_map_data.enabled == '1' %}
|
||||
{# # Restrict the list of threads on which this listener is allowed to run #}
|
||||
{% do adv_options.append('process ' ~ '1/' ~ cpu_map_data.thread_id|replace('x', '')) %}
|
||||
{% do adv_options.append('thread ' ~ cpu_map_data.thread_id|replace('x', '')) %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user