mirror of
https://github.com/open-webui/open-webui
synced 2025-01-31 06:49:03 +00:00
refac: do not wait for update check
This commit is contained in:
parent
0bd9d59c78
commit
44d768ecf3
@ -206,10 +206,10 @@
|
|||||||
const now = new Date();
|
const now = new Date();
|
||||||
|
|
||||||
if (now - dismissedUpdateToast > 24 * 60 * 60 * 1000) {
|
if (now - dismissedUpdateToast > 24 * 60 * 60 * 1000) {
|
||||||
await checkForVersionUpdates();
|
checkForVersionUpdates();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
await checkForVersionUpdates();
|
checkForVersionUpdates();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
await tick();
|
await tick();
|
||||||
|
Loading…
Reference in New Issue
Block a user