removed automatic service reloading for now

pull/655/head
hunterlong 2020-06-10 23:58:39 -07:00
parent 6ee986836b
commit 73d7a65c39
1 changed files with 6 additions and 6 deletions

View File

@ -168,7 +168,7 @@ export default {
} }
}, },
beforeDestroy() { beforeDestroy() {
clearInterval(this.timer_func) // clearInterval(this.timer_func)
}, },
async created() { async created() {
this.track_service = this.in_service this.track_service = this.in_service
@ -230,11 +230,11 @@ export default {
if (isVisible && !this.visible) { if (isVisible && !this.visible) {
this.visible = true this.visible = true
if (!this.timer_func) { // if (!this.timer_func) {
this.timer_func = setInterval(async () => { // this.timer_func = setInterval(async () => {
this.track_service = await Api.service(this.service.id) // this.track_service = await Api.service(this.service.id)
}, this.track_service.check_interval * 100) // }, this.track_service.check_interval * 100)
} // }
} }
} }
} }