]> dxcluster.net Git - spider.git/commitdiff
added a {lastt} and reducing queueing interval
authordjk <djk>
Sat, 10 Jul 1999 14:39:34 +0000 (14:39 +0000)
committerdjk <djk>
Sat, 10 Jul 1999 14:39:34 +0000 (14:39 +0000)
perl/DXMsg.pm

index 94ee829850aec16bf1665fa34bbbff667bb6a0d2..5ab8d4af5dbc60804707884f9001f15fd714283f 100644 (file)
@@ -44,7 +44,7 @@ $last_clean = 0;                              # last time we did a clean
 @forward = ();                  # msg forward table
 $timeout = 30*60;               # forwarding timeout
 $waittime = 60*60;              # time an aborted outgoing message waits before trying again
-$queueinterval = 5*60;          # run the queue every 5 minutes
+$queueinterval = 2*60;          # run the queue every 2 minutes
 $lastq = 0;
 
 
@@ -649,6 +649,7 @@ sub start_msg
        $self->{fromnode} = $main::mycall;
        $busy{$self->{tonode}} = $self;
        $work{$self->{tonode}} = $self;
+       $self->{lastt} = $main::systime;
        $dxchan->send(DXProt::pc28($self->{tonode}, $self->{fromnode}, $self->{to}, $self->{from}, $self->{t}, $self->{private}, $self->{subject}, $self->{origin}, $self->{rrreq}));
 }