changed recv to recv(timeout =>20) in gather
usual demo updates moving forward
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@308
9efc2488-bf62-4759-914b-
345cdb29e865
strcat(buf_36chars,mil);
free(localtime);
}
+
double get_timestamp_millis() {
struct timeb t;
ftime(&t);
sub finish {
my $self = shift;
+ return unless $self->session;
$self->session->remove_app_request($self);
delete($$self{$_}) for (keys %$self);
}
my $self = shift;
my $finish = shift;
$self->wait_complete;
- my $resp = $self->recv;
+ my $resp = $self->recv( timeout => 20 );
if( $self->failed() ) {
throw OpenSRF::EX::ERROR
($self->failed()->stringify());