Speed up history queries
[buildfarm-server.git] / cgi-bin / get_bf_status_soap.pl
old mode 100644 (file)
new mode 100755 (executable)
index 02059e7..7815207
@@ -1,13 +1,18 @@
 #!/usr/bin/perl
 
-use lib "/home/community/pgbuildfarm/lib/lib/perl5/site_perl";
+=comment
 
-use SOAP::Lite +trace;
+Copyright (c) 2003-2010, Andrew Dunstan
+
+See accompanying License file for license details
+
+=cut 
+
+use SOAP::Lite ;
 
 my $obj = SOAP::Lite
     ->uri('http://www.pgbuildfarm.org/PGBuildFarm')
-    ->proxy('http://127.0.0.1/cgi-bin/show_status_soap.pl')
-    ->request->header("Host" => "www.pgbuildfarm.org")
+    ->proxy('http://www.pgbuildfarm.org/cgi-bin/show_status_soap.pl')
     ;
 
 my $data = $obj->get_status->result;