On Fri, Jul 30, 2010 at 09:13, Robert Larsen <[email protected]> wrote:

> Hi again all
>
> I am coding up a build service for my company and is using QooxDoo with
> RpcPhp. Some of the RPC calls take a long time (thirty seconds or so)
> and for some reason the call is aborted.
> But it is aborted after only about three seconds and from a tcpdump I
> can see that it is the client side that aborts the call, not the server.
>
> I have not put a timeout on the RPC object and I have even logged that
> getTimeout() in fact returns null.
>
> Can you tell me why this is ?
> Is there a default timeout somewhere ?
>

The default timeout is 5000ms. You can change the default with something
like:

  qx.io.remote.RequestQueue.getInstance().setDefaultTimeout(60000);

I recommend that you don't do that, however. Instead, provide a timeout
explicitly to your rpc request:

  var rpc = new qx.io.remote.Rpc();
  rpc.setTimeout(60000);

Derrell
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to