From f13e19d6dadcef30711127ba7ffdf8fd9b7dcdfd Mon Sep 17 00:00:00 2001 From: 0xJacky Date: Wed, 6 Jul 2022 21:26:48 +0800 Subject: [PATCH] change terminal ping frequency --- frontend/src/views/pty/Terminal.vue | 2 +- frontend/version.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/pty/Terminal.vue b/frontend/src/views/pty/Terminal.vue index 5f428f2b..7e1455c9 100644 --- a/frontend/src/views/pty/Terminal.vue +++ b/frontend/src/views/pty/Terminal.vue @@ -82,7 +82,7 @@ export default { const that = this this.ping = setInterval(function () { that.sendMessage({Type: 3}) - }, 10000) + }, 30000) }, sendMessage(data) { this.websocket.send(JSON.stringify(data)) diff --git a/frontend/version.json b/frontend/version.json index 9cd75ff9..511dc10c 100644 --- a/frontend/version.json +++ b/frontend/version.json @@ -1 +1 @@ -{"version":"1.4.0","build_id":3,"total_build":59} \ No newline at end of file +{"version":"1.4.0","build_id":4,"total_build":60} \ No newline at end of file