Increase timeout for server response from 5s to 30s

When performing POST
This commit is contained in:
Neil Burrows 2020-05-31 11:56:45 +01:00
parent 04c493479e
commit 375231fac8

View File

@ -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