try to prevent double connects from semi succeeding and then getting an
[spider.git] / perl / cluster.pl
index 98fdbb187491697c32bccbb5e030bcbf645d489c..d321cba5fcd9b971e4cb048857aa539065daa253 100755 (executable)
@@ -110,7 +110,8 @@ $starttime = 0;                 # the starting time of the cluster
 sub already_conn
 {
        my ($conn, $call, $mess) = @_;
-       
+
+       $conn->disable_read(1);
        dbg('chan', "-> D $call $mess\n"); 
        $conn->send_now("D$call|$mess");
        sleep(2);