[dokuwiki] Re: Sync plugin - timeouts

> I'm trying to use the sync plugin to synchronize about 1000 files. The sync
> plugin keeps giving me:
>
> Failed to fetch remote file list. transport error - Timeout while reading
> response (15.855s)
>
> I've had a quick look at the code but can't find where this timeout is
> specified so I can increase it. Can anyone point me in the right direction?

The XMLRPC client inherits from the DokuWiki HTTP Client. You should
be able to set the timeout directly after initializing:

$this->client = new IXR_Client($this->profiles[$this->profno]['server']);
$this->client->timeout = 60;

Andi
-- 
splitbrain.org
-- 
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: