mirror of
https://github.com/mattermost/focalboard.git
synced 2025-01-17 18:26:17 +02:00
Cleanup OctoListener tracing
This commit is contained in:
parent
7760cfa9ae
commit
19d6dc1ddf
@ -108,7 +108,6 @@ class OctoListener {
|
||||
|
||||
switch (message.action) {
|
||||
case 'UPDATE_BLOCK':
|
||||
Utils.log(`OctoListener update block: ${message.block?.id}`)
|
||||
this.queueUpdateNotification(message.block!)
|
||||
break
|
||||
default:
|
||||
@ -207,6 +206,9 @@ class OctoListener {
|
||||
}
|
||||
|
||||
private flushUpdateNotifications() {
|
||||
for (const block of this.updatedBlocks) {
|
||||
Utils.log(`OctoListener flush update block: ${block.id}`)
|
||||
}
|
||||
this.onChange?.(this.updatedBlocks)
|
||||
this.updatedBlocks = []
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user