From: Mike Rylander Date: Wed, 20 Aug 2014 15:48:24 +0000 (-0400) Subject: Revert "LP#1339190 worker-keeplive typo repair" X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=2b360d78d5239a036b38fb916e597428bb91719a;p=working%2FSIPServer.git Revert "LP#1339190 worker-keeplive typo repair" This reverts commit 21f77d36021bbcb39c5a6afc273457bf254e9ba5. Those weren't actually typos, but intentional to allow "0", which turns off keepalive for that account or institution. Signed-off-by: Mike Rylander --- diff --git a/SIPServer.pm b/SIPServer.pm index a4358a3..d16eec3 100755 --- a/SIPServer.pm +++ b/SIPServer.pm @@ -436,8 +436,8 @@ sub mux_input { $self->sip_protocol_loop( $active_connections{$conn_id}{worker_pipe}, $self->{account}->{'worker-keepalive'} - || $self->{institution}->{'worker-keepalive'} - || $worker_keepalive + // $self->{institution}->{'worker-keepalive'} + // $worker_keepalive ); exit(0); @@ -497,8 +497,8 @@ sub mux_input { $self->sip_protocol_loop( $active_connections{$conn_id}{worker_pipe}, $self->{account}->{'worker-keepalive'} - || $self->{institution}->{'worker-keepalive'} - || $worker_keepalive + // $self->{institution}->{'worker-keepalive'} + // $worker_keepalive );