wait longer on updates before warning about time, as reported by a user
Massimo Melina committed
Dec 4, 2023 at 09:54 UTC
60ef7e185ac7f736373545718b8204efd8f9bb14
1 file changed
+1
-1
admin/src/HomePage.ts
+1
-1
@@ -152,7 +152,7 @@ async function update(tag?: string) {
152
const restarting = Date.now()
153
let warning: undefined | ReturnType<typeof alertDialog>
154
while (await apiCall('NONE').then(() => 0, e => !e.code)) { // while we get no response
155
- if (!warning && Date.now() - restarting > 10_000)
155
+ if (!warning && Date.now() - restarting > 15_000)
156
warning = alertDialog("This is taking too long, please check your server", 'warning')
157
await wait(500)
158
}