real timeout should be a bit longer

This commit is contained in:
Ted Unangst 2022-04-01 15:45:02 -04:00
parent d8c27d7ba8
commit 74e3e890c7
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ function post(url, data) {
function get(url, whendone, whentimedout) {
var x = new XMLHttpRequest()
x.open("GET", url)
x.timeout = 5 * 1000
x.timeout = 15 * 1000
x.responseType = "json"
x.onload = function() { whendone(x) }
if (whentimedout) {