[padb] r410 committed - Increase the inner timeout to be 2N+10 to allow for correct...

padb at googlecode.com padb at googlecode.com
Sat Nov 6 23:22:51 GMT 2010


Revision: 410
Author: apittman at gmail.com
Date: Sat Nov  6 16:21:44 2010
Log: Increase the inner timeout to be 2N+10 to allow for correct
operation for small values of N.

http://code.google.com/p/padb/source/detail?r=410

Modified:
  /trunk/src/padb

=======================================
--- /trunk/src/padb	Sat Nov  6 16:16:23 2010
+++ /trunk/src/padb	Sat Nov  6 16:21:44 2010
@@ -9984,7 +9984,7 @@
      my $hostname = $inner_conf{hostname};
      my $key      = rand;

-    my $outer_timeout = $inner_conf{interval} * 2;
+    my $outer_timeout = ( $inner_conf{interval} * 2 ) + 10;

      if ( defined $outerloc ) {
          my ( $ohost, $oport ) = split $COLON, $outerloc;




More information about the padb-devel mailing list