[wp-trac] [WordPress Trac] #10522: timeout for ftp connections as a constant in config.php
WordPress Trac
wp-trac at lists.automattic.com
Thu Jul 30 23:09:53 UTC 2009
#10522: timeout for ftp connections as a constant in config.php
--------------------------+-------------------------------------------------
Reporter: ntm | Owner: dd32
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9
Component: Filesystem | Version: 2.8.2
Severity: normal | Keywords: ftp connection timeout, plugin upgrade,
--------------------------+-------------------------------------------------
Comment(by dd32):
> attachment file.php.patch added
Not sure why its being set like that.. No real point
> attachment class-wp-filesystem-ftpext.php.patch added
i'd use the define directly there, ie:
{{{
if ( defined('TIMEOUT..') )
$this->timeout = TIMEOUT...;
}}}
It might be worth just hard-coding a longer timeout there though, possibly
10sec? Bad username/password will return instantly anyway..
What value do you set it to for it to work for you?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10522#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list