Mercurial > hg > freeDiameter
comparison include/freeDiameter/libfdcore.h @ 1397:239ba25870d8
Allow parametrizing the number of threads for routing in/out.
This is for high-load situations where freeDiameter was limited
by the corresponding queues.
author | Thomas Klausner <tk@giga.or.at> |
---|---|
date | Fri, 15 Nov 2019 11:40:37 +0100 |
parents | 188c82b6690b |
children | b09f1b4c9fad |
comparison
equal
deleted
inserted
replaced
1396:188c82b6690b | 1397:239ba25870d8 |
---|---|
135 int cnf_thr_srv; /* Number of threads per servers handling the connection state machines */ | 135 int cnf_thr_srv; /* Number of threads per servers handling the connection state machines */ |
136 int cnf_processing_peers_minimum; /* Number of processing peers that must be connected before other peers may connect */ | 136 int cnf_processing_peers_minimum; /* Number of processing peers that must be connected before other peers may connect */ |
137 regex_t cnf_processing_peers_pattern_regex; /* Regex pattern for identifying processing peers */ | 137 regex_t cnf_processing_peers_pattern_regex; /* Regex pattern for identifying processing peers */ |
138 struct fd_list cnf_apps; /* Applications locally supported (except relay, see flags). Use fd_disp_app_support to add one. list of struct fd_app. */ | 138 struct fd_list cnf_apps; /* Applications locally supported (except relay, see flags). Use fd_disp_app_support to add one. list of struct fd_app. */ |
139 uint16_t cnf_dispthr; /* Number of dispatch threads to create */ | 139 uint16_t cnf_dispthr; /* Number of dispatch threads to create */ |
140 uint16_t cnf_rtinthr; /* Number of routing in threads to create */ | |
141 uint16_t cnf_rtoutthr; /* Number of routing out threads to create */ | |
140 uint16_t cnf_rr_in_answers; /* include Route-Record AVP in answers */ | 142 uint16_t cnf_rr_in_answers; /* include Route-Record AVP in answers */ |
143 int cnf_qin_limit; /* limit for incoming queue*/ | |
144 int cnf_qout_limit; /* limit for outgoing queue */ | |
145 int cnf_qlocal_limit; /* limit for local queue */ | |
141 struct { | 146 struct { |
142 unsigned no_fwd : 1; /* the peer does not relay messages (0xffffff app id) */ | 147 unsigned no_fwd : 1; /* the peer does not relay messages (0xffffff app id) */ |
143 unsigned no_ip4 : 1; /* disable IP */ | 148 unsigned no_ip4 : 1; /* disable IP */ |
144 unsigned no_ip6 : 1; /* disable IPv6 */ | 149 unsigned no_ip6 : 1; /* disable IPv6 */ |
145 unsigned no_tcp : 1; /* disable use of TCP */ | 150 unsigned no_tcp : 1; /* disable use of TCP */ |