Skip to content

Commit

Permalink
ui: increase initial timeout to 60s
Browse files Browse the repository at this point in the history
Failing to fetch the frontend_bundle.js causes a BSOD.
Today the timeout is 20s and frontend_bundle.js is ~4MB.
20s can be too aggressive if the connection is particularly
slow. I've been hitting this myself on flights.
Increasing that to 60s.

Bug: #616
Change-Id: I9ba4d55111ad0a1e3a28147e35b7f0bb3c7b02f6
  • Loading branch information
primiano committed Oct 27, 2023
1 parent 45d008f commit 30ea856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/assets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<script type="text/javascript">
'use strict';
(function () {
const TIMEOUT_MS = 20000;
const TIMEOUT_MS = 60000;
let errTimerId = undefined;

function errHandler(err) {
Expand Down

0 comments on commit 30ea856

Please sign in to comment.