Page 1 of 1

How do I change the default timeout for a service?

Posted: Wed May 08, 2013 7:50 pm
by Harold Gottschalk

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


How do I change the default timeout for a service?

Posted: Wed May 08, 2013 7:55 pm
by Sergey Kozyr

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.


How do I change the default timeout for a service?

Posted: Wed May 08, 2013 8:04 pm
by Harold Gottschalk

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


How do I change the default timeout for a service?

Posted: Wed May 08, 2013 8:07 pm
by Sergey Kozyr

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