diff libfdcore/fdd.l @ 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 566bb46cc73f
line wrap: on
line diff
--- a/libfdcore/fdd.l	Fri Nov 15 11:38:30 2019 +0100
+++ b/libfdcore/fdd.l	Fri Nov 15 11:40:37 2019 +0100
@@ -254,6 +254,11 @@
 (?i:"TLS_old_method")	{ return OLDTLS; }
 (?i:"SCTP_streams")	{ return SCTPSTREAMS; }
 (?i:"AppServThreads")	{ return APPSERVTHREADS; }
+(?i:"RoutingInThreads")	{ return ROUTINGINTHREADS; }
+(?i:"RoutingOutThreads")	{ return ROUTINGOUTTHREADS; }
+(?i:"IncomingQueueLimit")	{ return QINLIMIT; }
+(?i:"OutgoingQueueLimit")	{ return QOUTLIMIT; }
+(?i:"LocalQueueLimit")	{ return QLOCALLIMIT; }
 (?i:"ListenOn")		{ return LISTENON; }
 (?i:"ThreadsPerServer")	{ return THRPERSRV; }
 (?i:"ProcessingPeersPattern")	{ return PROCESSINGPEERSPATTERN; }
@@ -271,6 +276,9 @@
 (?i:"TLS_Prio")		{ return TLS_PRIO; }
 (?i:"TLS_DH_bits")	{ return TLS_DH_BITS; }
 (?i:"TLS_DH_file")	{ return TLS_DH_FILE; }
+(?i:"RouteRecordInAnswers")	{ return RR_IN_ANSWERS;	}
+(?i:"Never")		{ return NEVER;	}
+(?i:"Always")		{ return ALWAYS; }
 
 
 	/* Valid single characters for yyparse */
"Welcome to our mercurial repository"