[dokuwiki] Re: Sync plugin - timeouts

  • From: Chris Tapp <dokuwiki@xxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Fri, 2 Jul 2010 12:25:06 +0100

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

Thanks Andi - that's just what was needed.

They now sync perfectly :-)

Would it be worth adding this as an admin configuration option to the plugin? I'm happy to do this if you think so.

Chris


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

Other related posts: