real timeout should be a bit longer
Ted Unangst tedu@tedunangst.com
Fri, 01 Apr 2022 15:45:02 -0400
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
views/honkpage.js
→
views/honkpage.js
@@ -16,7 +16,7 @@ }
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) {