increase interval between auto for/opers and add up to 9 days of randomi-
[spider.git] / perl / DXMsg.pm
index bb80e6c1908183ffbb16bf027a34e76c30478243..ff9d45aaeb57ffbafe96d22effcb6c0a697fc69c 100644 (file)
@@ -724,7 +724,7 @@ sub queue_msg
                        $ref->stop_msg($node);
                        
                        # delay any outgoing messages that fail
-                       $ref->{waitt} = $main::systime + $waittime + rand(120) if $node ne $main::mycall;
+                       $ref->{waitt} = $main::systime + $waittime + int rand(120) if $node ne $main::mycall;
                        delete $ref->{lastt};
                        next;
                }