Show
Ignore:
Timestamp:
10/08/07 18:10:45 (2 years ago)
Author:
marksmith
Message:

-- make persist_client_timeout service tunable apply to the max_idle_time

value used to kill sockets that are idle

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/lib/Perlbal/ClientHTTPBase.pm

    r704 r707  
    139139} 
    140140 
     141# overridden here from Perlbal::Socket to use the service value 
     142sub max_idle_time { 
     143    return $_[0]->{service}->{persist_client_timeout}; 
     144} 
     145 
    141146# called when we've finished writing everything to a client and we need 
    142147# to reset our state for another request.  returns 1 to mean that we should