Default timeout for API calls from 30 to 60 seconds
This commit is contained in:
parent
40fa640397
commit
23d106969f
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
function execute(request, timeout=30000) {
|
function execute(request, timeout=60000) {
|
||||||
var additionalPayload = {};
|
var additionalPayload = {};
|
||||||
|
|
||||||
if (!('target' in request) || !request['target']) {
|
if (!('target' in request) || !request['target']) {
|
||||||
|
@ -46,7 +46,7 @@ function execute(request, timeout=30000) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function request(action, args={}, timeout=30000) {
|
function request(action, args={}, timeout=60000) {
|
||||||
return execute({
|
return execute({
|
||||||
type: 'request',
|
type: 'request',
|
||||||
action: action,
|
action: action,
|
||||||
|
|
Loading…
Reference in a new issue