[Bio] / FigKernelPackages / SSserver.pm Repository:
ViewVC logotype

Diff of /FigKernelPackages/SSserver.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.11, Tue Nov 3 21:20:07 2009 UTC revision 1.13, Fri Nov 6 22:54:13 2009 UTC
# Line 73  Line 73 
73      # Turn off YAML compression, which causes problems with our hash keys.      # Turn off YAML compression, which causes problems with our hash keys.
74      $YAML::CompressSeries = 0;      $YAML::CompressSeries = 0;
75      # Get the options.      # Get the options.
76      my $url = $options{url};      my $url = $options{url} || "http://servers.nmpdr.org/subsystem/server.cgi";
77      my $singleton = $options{singleton} || 0;      my $singleton = $options{singleton} || 0;
78      # Create the fields of the object. Note that if we're in localhost mode,      # Create the fields of the object. Note that if we're in localhost mode,
79      # the user agent is actually a SAP object.      # the user agent is actually a SAP object.
# Line 82  Line 82 
82      if ($server_url ne 'localhost') {      if ($server_url ne 'localhost') {
83          require LWP::UserAgent;          require LWP::UserAgent;
84          $ua = LWP::UserAgent->new();          $ua = LWP::UserAgent->new();
85            $ua->timeout(20 * 60);
86      } else {      } else {
87          require "SS.pm";          require "SS.pm";
88          $ua = SS->new();          $ua = SS->new();

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.13

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3