Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

Increase request timeout from 3s to 10s

天舟301729c05470
diff --git a/frontend/src/main.ts b/frontend/src/main.ts
index 3b997ddded..05bddcb1e9 100644
--- a/frontend/src/main.ts
+++ b/frontend/src/main.ts
@@ -78,7 +78,7 @@ console.debug("dev:", isDev());
console.debug("release:", isRelease());
console.debug("backend:", backendURL());
-axios.defaults.timeout = 3000;
+axios.defaults.timeout = 10000;
axios.interceptors.request.use((request) => {
if (isDev() && request.url!.startsWith("/api")) {
console.debug(
@@ -125,7 +125,7 @@ axios.interceptors.response.use(
store.dispatch("notification/pushNotification", {
module: "bytebase",
style: "CRITICAL",
- title: "Unable to connect to server. Make sure the server is running.",
+ title: "Connecting server timeout. Make sure the server is running.",
});
return;
}