Navigation


Changeset 1396:188c82b6690b in freeDiameter for libfdcore/fdd.l


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

Add ProcessingPeersPattern? and ProcessingPeersMinimum? parameters.

If this is configured, the process will accept all connections from
peers matching ProcessingPeersPattern?, but will NOT accept connections
from other peers until ProcessingPeersMinimum? peers of the first
type are connected.

This allows relays to only go online if there are enough worker
peers connected behind them.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdcore/fdd.l

    r1394 r1396  
    257257(?i:"ListenOn")         { return LISTENON; }
    258258(?i:"ThreadsPerServer") { return THRPERSRV; }
     259(?i:"ProcessingPeersPattern")   { return PROCESSINGPEERSPATTERN; }
     260(?i:"ProcessingPeersMinimum")   { return PROCESSINGPEERSMINIMUM; }
    259261(?i:"TcTimer")          { return TCTIMER; }
    260262(?i:"TwTimer")          { return TWTIMER; }
Note: See TracChangeset for help on using the changeset viewer.