diff --git a/ais-structure/src/modules/helper/connection.js b/ais-structure/src/modules/helper/connection.js index 4089103..d0808aa 100644 --- a/ais-structure/src/modules/helper/connection.js +++ b/ais-structure/src/modules/helper/connection.js @@ -14,7 +14,7 @@ connection.requestSoapToSACF = async function (soap,cmd,myMethod) { url : cfg.service.SACF[myMethod+"_"+cmd+"_URL"], body : messageSOAP.objectToSOAP(soap,cmd), method : myMethod, - timeout : cfg.service.SACF[myMethod+"_"+cmd+"_Timeout"] + timeout : cfg.service.SACF[myMethod+"_"+cmd+"_Timeout"]*1000 } stats.sendSACFRequest(cfg.service.SACF.Name,cmd) @@ -31,7 +31,7 @@ connection.requestJsonToD01 = async function (obj,cmd,myMethod) { url : service[myMethod+"_"+cmd+"_URL"], body : obj, method : myMethod, - timeout : service[myMethod+"_"+cmd+"_Timeout"] + timeout : service[myMethod+"_"+cmd+"_Timeout"]*1000 } var result = {}; -- libgit2 0.21.2