修改隧道限速
This commit is contained in:
parent
445184975d
commit
81a006a4cb
|
|
@ -465,8 +465,8 @@ onMounted(() => {
|
|||
|
||||
// 每2秒获取客户端状态
|
||||
statusTimerId = setInterval(LocalClientStatus, 2000)
|
||||
// 每10秒获取服务器列表
|
||||
serverListTimerId = setInterval(fetchVPNServers, 10000)
|
||||
// 每20秒获取服务器列表
|
||||
serverListTimerId = setInterval(fetchVPNServers, 20000)
|
||||
})
|
||||
|
||||
// 组件卸载时清除定时器
|
||||
|
|
|
|||
|
|
@ -404,7 +404,7 @@ const startOnlineStatusTimer = () => {
|
|||
if (selectedServer.value){
|
||||
getOnlineUsers2(selectedServer.value.server_id);
|
||||
}
|
||||
}, 3000);
|
||||
}, 5000);
|
||||
};
|
||||
|
||||
// 停止定时查询
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@
|
|||
<el-input-number
|
||||
v-model="selectedTunnel.config.upload_limit"
|
||||
:min="0"
|
||||
:max="10000"
|
||||
:max="100000"
|
||||
:step="1"
|
||||
placeholder="0表示无限制"
|
||||
/>
|
||||
|
|
@ -102,7 +102,7 @@
|
|||
<el-input-number
|
||||
v-model="selectedTunnel.config.download_limit"
|
||||
:min="0"
|
||||
:max="10000"
|
||||
:max="100000"
|
||||
:step="1"
|
||||
placeholder="0表示无限制"
|
||||
/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue