Skip to content

armgit / dbx

Public Imported from GitHub
0

25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。

fix(updates): delay first update check by 10s after startup

t8y27e4274094d66
diff --git a/src/App.vue b/src/App.vue
index 238bbc8d87..f0bb770a80 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -530,8 +530,10 @@ onMounted(async () => {
}
initApp();
setupFileDrop().catch(() => {});
- checkUpdates({ silent: true });
- updateCheckTimer = setInterval(() => checkUpdates({ silent: true }), UPDATE_CHECK_INTERVAL_MS);
+ setTimeout(() => {
+ checkUpdates({ silent: true });
+ updateCheckTimer = setInterval(() => checkUpdates({ silent: true }), UPDATE_CHECK_INTERVAL_MS);
+ }, 10_000);
api
.getAppVersion()
.then((v) => {