projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altered wcy display a bit
[spider.git]
/
perl
/
DXCron.pm
diff --git
a/perl/DXCron.pm
b/perl/DXCron.pm
index c0565fa1e9e8268b2c3c8aed8719398227f91409..8fb0f4664489609be8a6f3f56c584d6b6956d1fd 100644
(file)
--- a/
perl/DXCron.pm
+++ b/
perl/DXCron.pm
@@
-13,7
+13,6
@@
use DXUtil;
use DXM;
use DXDebug;
use IO::File;
use DXM;
use DXDebug;
use IO::File;
-use Carp;
use strict;
use strict;
@@
-234,6
+233,11
@@
sub start_connect
my $call = uc shift;
my $lccall = lc $call;
my $call = uc shift;
my $lccall = lc $call;
+ if (grep {$_->{call} eq $call} @main::outstanding_connects) {
+ dbg('cron', "Connect not started, outstanding connect to $call");
+ return;
+ }
+
my $prog = "$main::root/local/client.pl";
$prog = "$main::root/perl/client.pl" if ! -e $prog;
my $prog = "$main::root/local/client.pl";
$prog = "$main::root/perl/client.pl" if ! -e $prog;
@@
-295,7
+299,7
@@
sub rcmd
return if !$noderef || !$noderef->pcversion;
# send it
return if !$noderef || !$noderef->pcversion;
# send it
- DXProt::addrcmd($
main::mycall
, $call, $line);
+ DXProt::addrcmd($
DXProt::me
, $call, $line);
}
1;
__END__
}
1;
__END__