Increase timeout for server response from 5s to 30s
When performing POST
This commit is contained in:
parent
04c493479e
commit
375231fac8
|
@ -81,7 +81,7 @@ function postJson(req, data="" as string)
|
|||
req.setMessagePort(CreateObject("roMessagePort"))
|
||||
req.AsyncPostFromString(data)
|
||||
|
||||
resp = wait(5000, req.GetMessagePort())
|
||||
resp = wait(30000, req.GetMessagePort())
|
||||
if type(resp) <> "roUrlEvent"
|
||||
return invalid
|
||||
end if
|
||||
|
|
Loading…
Reference in New Issue
Block a user