ssafronova (ssafronova) wrote in changelog,
ssafronova
ssafronova
changelog

[mogilefs] r1302: LJSUP-6894: Frequent MogileFS command fa...

Committer: ssafronova
LJSUP-6894: Frequent MogileFS command failure
U   trunk/api/perl/MogileFS-Client/lib/MogileFS/Client.pm
Modified: trunk/api/perl/MogileFS-Client/lib/MogileFS/Client.pm
===================================================================
--- trunk/api/perl/MogileFS-Client/lib/MogileFS/Client.pm	2009-06-04 08:47:52 UTC (rev 1301)
+++ trunk/api/perl/MogileFS-Client/lib/MogileFS/Client.pm	2010-10-28 10:59:45 UTC (rev 1302)
@@ -127,7 +127,7 @@
         # create a new backend object if there's not one already,
         # otherwise call a reload on the existing one
         if ($self->{backend}) {
-            $self->{backend}->reload( hosts => $args{hosts} );
+            $self->{backend}->reload( hosts => $args{hosts}, timeout => $args{timeout} );
         } else {
             $self->{backend} = MogileFS::Backend->new( hosts => $args{hosts},
                                                        timeout => $args{timeout},

Tags: mogilefs, pm, ssafronova
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments