ssafronova (ssafronova) wrote in changelog,
ssafronova
ssafronova
changelog

[livejournal] r17620: LJSUP-6894: Frequent MogileFS command fa...

Committer: ssafronova
LJSUP-6894: Frequent MogileFS command failure
U   trunk/cgi-bin/LJ/Config.pm
Modified: trunk/cgi-bin/LJ/Config.pm
===================================================================
--- trunk/cgi-bin/LJ/Config.pm	2010-10-28 10:10:16 UTC (rev 17619)
+++ trunk/cgi-bin/LJ/Config.pm	2010-10-28 11:17:31 UTC (rev 17620)
@@ -45,7 +45,8 @@
                 ( domain => $LJ::MOGILEFS_CONFIG{domain},
                   root   => $LJ::MOGILEFS_CONFIG{root},
                   hosts  => $LJ::MOGILEFS_CONFIG{hosts},
-                  readonly => $LJ::DISABLE_MEDIA_UPLOADS, );
+                  readonly => $LJ::DISABLE_MEDIA_UPLOADS,
+                  timeout => $LJ::MOGILEFS_CONFIG{timeout} || 3 );
               LJ::mogclient()->set_pref_ip(\%LJ::MOGILEFS_PREF_IP)
                   if %LJ::MOGILEFS_PREF_IP;
           }

Tags: livejournal, 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