Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#13987 closed defect (fixed)

Disable default timeout in RpcService

Reported by: freddefisk Owned by: Dustin Machi
Priority: low Milestone: 1.9
Component: RPC Version: 1.6.1
Keywords: needsreview Cc:
Blocked By: Blocking:


The default timeout in dojo.rpc.RpcService? is 3 seconds. The default behaviour should be to disable the timeout (setting it to 0) as all xhr functions in dojo does.

Change History (4)

comment:1 Changed 10 years ago by ben hockey

Keywords: needsreview added
Priority: highlow

comment:2 Changed 10 years ago by freddefisk

#15760 is a related ticket.

Another thing that I did not mention in the description is that it's not possible to disable the timeout manually by sending timeout: 0 as an argument because of the way the default timeout is set:

this.timeout = args.timeout || 3000;

comment:3 Changed 9 years ago by dylan

Resolution: fixed
Status: newclosed

In [30743]:

fixes #13987 #15760, change default rpc timeout to not timeout at all, rather than after just 3s

comment:4 Changed 9 years ago by dylan

Milestone: tbd1.9
Note: See TracTickets for help on using tickets.