Default timeout for API calls from 30 to 60 seconds

This commit is contained in:
Fabio Manganiello 2019-07-02 14:56:43 +02:00
parent 40fa640397
commit 23d106969f

View file

@ -1,4 +1,4 @@
function execute(request, timeout=30000) {
function execute(request, timeout=60000) {
var additionalPayload = {};
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({
type: 'request',
action: action,