[Koha-cvs] CVS: koha/C4 Z3950.pm,1.1.2.2,1.1.2.3

Steve Tonnesen tonnesen at users.sourceforge.net
Fri Jun 28 19:45:41 CEST 2002


Update of /cvsroot/koha/koha/C4
In directory usw-pr-cvs1:/tmp/cvs-serv26334/C4

Modified Files:
      Tag: rel-1-2
	Z3950.pm 
Log Message:
z3950queue now listens for a -HUP signal before processing the queue.  Z3950.pm
sends the -HUP signal when queries are added to the queue.


Index: Z3950.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Attic/Z3950.pm,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -r1.1.2.2 -r1.1.2.3
*** Z3950.pm	26 Jun 2002 20:54:31 -0000	1.1.2.2
--- Z3950.pm	28 Jun 2002 17:45:39 -0000	1.1.2.3
***************
*** 149,152 ****
--- 149,155 ----
  		values (?, ?, ?, ?)");
  	    $sth->execute($query, $type, $serverlist, $requestid);
+ 	    my $pid=`cat /var/log/koha/processz3950queue.pid`;
+ 	    chomp $pid;
+ 	    kill 1, $pid;
  	}
  } # sub addz3950queue
***************
*** 154,157 ****
--- 157,164 ----
  #--------------------------------------
  # $Log$
+ # Revision 1.1.2.3  2002/06/28 17:45:39  tonnesen
+ # z3950queue now listens for a -HUP signal before processing the queue.  Z3950.pm
+ # sends the -HUP signal when queries are added to the queue.
+ #
  # Revision 1.1.2.2  2002/06/26 20:54:31  tonnesen
  # use warnings breaks on perl 5.005...





More information about the Koha-cvs mailing list