Harold Gottschalk
Posts: 0
Joined: Wed Mar 27, 2013 9:42 pm

How do I change the default timeout for a service?

I need it to wait longer before it times out.
The default value is 20000 from reading the code.

Sergey Kozyr
Posts: 0
Joined: Tue Apr 30, 2013 2:55 pm

How do I change the default timeout for a service?

Hello,
you can change timeout option if you call Rest service with JavaScript.
Create "Run JavaScript" action and write:
precodedatasource1.execute({timeout: 30000});
/code/pre

Here "datasource1" is name of a datasource from "Data" tab.

Harold Gottschalk
Posts: 0
Joined: Wed Mar 27, 2013 9:42 pm

How do I change the default timeout for a service?

Sergey, thank you

since I am calling invoke service is there a way to set it when defining the service or on the mapping page?

I can implement your suggestion, just curious.

heg

Sergey Kozyr
Posts: 0
Joined: Tue Apr 30, 2013 2:55 pm

How do I change the default timeout for a service?

Unfortunately there is no option to change timeout setting through UI. A workaround posted earlier should work.

Return to “Issues”