Committer: ssafronova
LJSUP-6894: Frequent MogileFS command failureU 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; }