管理画面でstatsを継続リクエストしないように (#5608)

This commit is contained in:
MeiMei 2019-12-15 03:43:31 +09:00 committed by syuilo
parent 5a58d98168
commit 09726a11c2

View file

@ -115,7 +115,6 @@ export default Vue.extend({
connection: null, connection: null,
meta: null, meta: null,
instances: [], instances: [],
clock: null,
faDatabase faDatabase
}; };
}, },
@ -124,7 +123,6 @@ export default Vue.extend({
this.connection = this.$root.stream.useSharedConnection('serverStats'); this.connection = this.$root.stream.useSharedConnection('serverStats');
this.updateStats(); this.updateStats();
this.clock = setInterval(this.updateStats, 3000);
this.$root.getMeta().then(meta => { this.$root.getMeta().then(meta => {
this.meta = meta; this.meta = meta;
@ -145,7 +143,6 @@ export default Vue.extend({
beforeDestroy() { beforeDestroy() {
this.connection.dispose(); this.connection.dispose();
clearInterval(this.clock);
}, },
methods: { methods: {