Commit 8b77988
issue: 4640792 fix incorrect cast
Fix incorrect boolean type definitions for two configuration parameters
that should be integer types based on their actual usage and environment
variable mappings.
The parameters were incorrectly defined as boolean when they should be
integer, causing build failures. This is a follow-up fix to correct the
type mismatches.
Changes:
- performance.polling.yield_on_poll: Change from bool to int
- Controls number of polling iterations before yielding
- Disable with 0, not false
- applications.nginx.udp_socket_pool_reuse: Change from bool to int
- Controls UDP socket pool reuse behavior
- Disable with 0, not false
These parameters map to environment variables that expect int values:
- XLIO_RX_POLL_YIELD
- XLIO_NGINX_UDP_POOL_RX_NUM_BUFFS_REUSE
Signed-off-by: Tomer Cabouly <[email protected]>1 parent e7d5176 commit 8b77988
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1940 | 1940 | | |
1941 | 1941 | | |
1942 | 1942 | | |
1943 | | - | |
| 1943 | + | |
1944 | 1944 | | |
1945 | 1945 | | |
1946 | 1946 | | |
| |||
2053 | 2053 | | |
2054 | 2054 | | |
2055 | 2055 | | |
2056 | | - | |
| 2056 | + | |
2057 | 2057 | | |
2058 | 2058 | | |
2059 | 2059 | | |
| |||
0 commit comments