preferred as leader.
This commit is contained in:
@@ -182,4 +182,8 @@ export const KafkaOpApi = {
|
||||
url: "/op/sync/alignment",
|
||||
method: "delete",
|
||||
},
|
||||
electPreferredLeader: {
|
||||
url: "/op/replication/preferred",
|
||||
method: "post",
|
||||
},
|
||||
};
|
||||
|
||||
@@ -6,7 +6,7 @@ import { VueAxios } from "./axios";
|
||||
const request = axios.create({
|
||||
// API 请求的默认前缀
|
||||
baseURL: process.env.VUE_APP_API_BASE_URL,
|
||||
timeout: 10000, // 请求超时时间
|
||||
timeout: 30000, // 请求超时时间
|
||||
});
|
||||
|
||||
// 异常拦截处理器
|
||||
|
||||
Reference in New Issue
Block a user