Navigation


Changeset 1397:239ba25870d8 in freeDiameter for include


Ignore:
Timestamp:
Nov 15, 2019, 7:40:37 PM (4 years ago)
Author:
Thomas Klausner <tk@giga.or.at>
Branch:
default
Phase:
public
Message:

Allow parametrizing the number of threads for routing in/out.

This is for high-load situations where freeDiameter was limited
by the corresponding queues.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/freeDiameter/libfdcore.h

    r1396 r1397  
    138138        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. */
    139139        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 */
    140142        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 */
    141146        struct {
    142147                unsigned no_fwd : 1;    /* the peer does not relay messages (0xffffff app id) */
Note: See TracChangeset for help on using the changeset viewer.