浏览代码

change terminal ping frequency

0xJacky 2 年之前
父节点
当前提交
f13e19d6da
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      frontend/src/views/pty/Terminal.vue
  2. 1 1
      frontend/version.json

+ 1 - 1
frontend/src/views/pty/Terminal.vue

@@ -82,7 +82,7 @@ export default {
             const that = this
             const that = this
             this.ping = setInterval(function () {
             this.ping = setInterval(function () {
                 that.sendMessage({Type: 3})
                 that.sendMessage({Type: 3})
-            }, 10000)
+            }, 30000)
         },
         },
         sendMessage(data) {
         sendMessage(data) {
             this.websocket.send(JSON.stringify(data))
             this.websocket.send(JSON.stringify(data))

+ 1 - 1
frontend/version.json

@@ -1 +1 @@
-{"version":"1.4.0","build_id":3,"total_build":59}
+{"version":"1.4.0","build_id":4,"total_build":60}