$maxconnect_node = 0; # Ditto but for nodes. In either case if a new incoming connection
# takes the no of references in the routing table above these numbers
# then the connection is refused. This only affects INCOMING connections.
-$idle_interval = 0.100; # the wait between invocations of the main idle loop processing.
+$idle_interval = 0.500; # the wait between invocations of the main idle loop processing.
our $ending; # signal that we are ending;
$conn->conns($call) if $conn->isa('IntMsg');
# set callbacks
- $conn->set_error(sub {my $err = shift; error_handler($dxchan, $err)});
+ $conn->set_error(sub {my $err = shift; LogDbg('DXCommand', "Comms error '$err' received for call $dxchan->{call}"); $dxchan->disconnect(1);});
$conn->set_on_eof(sub {$dxchan->disconnect});
$conn->set_rproc(sub {my ($conn,$msg) = @_; $dxchan->rec($msg);});
$dxchan->rec($msg);
my $timenow = time;
BPQMsg::process();
- DXChannel::process();
+# DXChannel::process();
# $DB::trace = 0;
AGWMsg::process();
Timer::handler();
-
+ DXLog::flush_all();
}
if (defined &Local::process) {