Changeset 490 for trunk/DNSDB.pm


Ignore:
Timestamp:
04/09/13 15:18:00 (11 years ago)
Author:
Kris Deugau
Message:

/trunk

Tweak RPC to run as FastCGI, and add another config option to control
the number of requests to handle before respawning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r489 r490  
    166166                log_failures    => 1,   # log all evarthing by default
    167167                perpage         => 15,
     168                maxfcgi         => 100, # reasonable default?
    168169        );
    169170
     
    13381339      # RPC options
    13391340      $config{rpcmode}          = $1 if /^rpc_mode\s*=\s*(socket|HTTP|XMLRPC)\s*$/i;
     1341      $config{maxfcgi}          = $1 if /^max_fcgi_requests\s*=\s*(\d+)\s*$/i;
    13401342      if (my ($tmp) = /^rpc_iplist\s*=\s*(.+)/i) {
    13411343        my @ips = split /[,\s]+/, $tmp;
Note: See TracChangeset for help on using the changeset viewer.