Skip to content

Commit

Permalink
Merge pull request #4916 from FlowFuse/revert-device-log-disconnect
Browse files Browse the repository at this point in the history
Revert Device log changes
  • Loading branch information
knolleary authored Dec 13, 2024
2 parents 529c85c + d30cdfa commit 6bdabe5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/pages/device/components/DeviceLog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ export default {
},
unmounted () {
// need to unsubscribe here
const topic = `ff/v1/${this.device.team.id}/d/${this.device.id}/logs`
this.client.publish(`${topic}/heartbeat`, 'leaving')
// const topic = `ff/v1/${this.device.team.id}/d/${this.device.id}/logs`
// this.client.publish(`${topic}/heartbeat`, 'leaving')
setTimeout(() => this.disconnectMQTT())
clearInterval(this.keepAliveInterval)
},
Expand Down

0 comments on commit 6bdabe5

Please sign in to comment.