This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
stellar-stellar/conf/stellar.toml
2024-01-31 18:55:06 +08:00

42 lines
1.3 KiB
TOML

[system]
app_symbol = stellar
dev_symbol = nf_0_fw
device_base = 1 # [0, 31]
device_offset = 2 # [0, 127]
nr_threads = 1 # [1, 256]
cpu_mask = [5, 6, 7, 8, 9, 10, 11, 12]
[session_manager]
# max session number
max_tcp_session_num = 100
max_udp_session_num = 100
# session overload evict
tcp_overload_evict_old_sess = 1 # 1: evict old session, 0: bypass new session
udp_overload_evict_old_sess = 1 # 1: evict old session, 0: bypass new session
# TCP timeout
tcp_timeout_init = 5 # seconds, Range: 1-60
tcp_timeout_handshake = 10 # seconds, Range: 1-60
tcp_timeout_data = 3600 # seconds, Range: 1-15,999,999
tcp_timeout_half_closed = 120 # seconds, Range: 1-604,800
tcp_timeout_time_wait = 15 # seconds, Range: 1-600
tcp_timeout_discard = 90 # seconds, Range: 1-15,999,999
# UDP timeout
udp_timeout_data = 10 # seconds, Range: 1-15,999,999
# TCP duplicate packet filter
tcp_dupkt_filter_enable = 1
tcp_dupkt_filter_capacity = 1000000
tcp_dupkt_filter_timeout = 10 # seconds, Range: 1-60
tcp_dupkt_filter_error_rate = 0.00001
# UDP eviction filter
udp_eviction_filter_enable = 1
udp_eviction_filter_capacity = 1000000
udp_eviction_filter_timeout = 10 # seconds, Range: 1-60
udp_eviction_filter_error_rate = 0.00001